Commit b285ef2c authored by yoogx's avatar yoogx

* Do not install libraries if these have not been compiled.

	Required for Windows builds, as libraries appeared unsupported
parent f9234ba7
......@@ -60,13 +60,17 @@ install-ada-libs:
for f in $(ADA_SPECS) $(ADA_BODIES); do \
$(INSTALL) -m 444 $$f $(DESTDIR)$(adadir); \
done
if [ "$(ls -A libs)" ]; then \
for f in libs/*.ali; do \
$(INSTALL) -m 444 $$f $(DESTDIR)$(alidir); \
done
done \
fi
$(INSTALL) -d $(DESTDIR)$(libdir)
if [ "$(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)
......
......@@ -18,13 +18,17 @@ install-data-local: install-ada-libs
for f in $(ADA_SPECS) $(ADA_BODIES); do \
$(INSTALL) -m 444 $$f $(DESTDIR)$(adadir); \
done
if [ "$(ls -A libs)" ]; then \
for f in objects/*.ali; do \
$(INSTALL) -m 444 $$f $(DESTDIR)$(alidir); \
done
done \
fi
$(INSTALL) -d $(DESTDIR)$(libdir)
if [ "$(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