Commit a3209202 authored by yoogx's avatar yoogx

Merge branch 'master' of https://github.com/yoogx/ocarina

parents 62ba7d89 8b08da94
......@@ -60,13 +60,17 @@ install-ada-libs:
for f in $(ADA_SPECS) $(ADA_BODIES); do \
$(INSTALL) -m 444 $$f $(DESTDIR)$(adadir); \
done
if [ "$(shell ls -A libs)" ]; then \
for f in libs/*.ali; do \
$(INSTALL) -m 444 $$f $(DESTDIR)$(alidir); \
done
done \
fi
$(INSTALL) -d $(DESTDIR)$(libdir)
if [ "$(shell ls -A libs/lib*)" ]; then \
for f in libs/lib*; do \
$(INSTALL) -m 444 $$f $(DESTDIR)$(libdir); \
done
done \
fi
uninstall-ada-libs:
rm -rf $(DESTDIR)$(adadir) $(DESTDIR)$(alidir)
......
......@@ -22,9 +22,11 @@ install-data-local: install-ada-libs
$(INSTALL) -m 444 $$f $(DESTDIR)$(alidir); \
done
$(INSTALL) -d $(DESTDIR)$(libdir)
if [ "$(shell ls -A libs/lib*)" ]; then \
for f in libs/lib*; do \
$(INSTALL) -m 444 $$f $(DESTDIR)$(libdir); \
done
done \
fi
# When packaging, we remove the "Working Copy from @SVN_REVISION@"
# from the SVN_Revision variable in ocarina-configuration.adb.in and
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment