Commit 8b08da94 authored by yoogx's avatar yoogx

* Adjust shell script for the installation of libraries,

          follow-up to the previous commit on the same subject
parent b285ef2c
......@@ -60,13 +60,13 @@ install-ada-libs:
for f in $(ADA_SPECS) $(ADA_BODIES); do \
$(INSTALL) -m 444 $$f $(DESTDIR)$(adadir); \
done
if [ "$(ls -A libs)" ]; then \
if [ "$(shell ls -A libs)" ]; then \
for f in libs/*.ali; do \
$(INSTALL) -m 444 $$f $(DESTDIR)$(alidir); \
done \
fi
$(INSTALL) -d $(DESTDIR)$(libdir)
if [ "$(ls -A libs/lib*)" ]; then \
if [ "$(shell ls -A libs/lib*)" ]; then \
for f in libs/lib*; do \
$(INSTALL) -m 444 $$f $(DESTDIR)$(libdir); \
done \
......
......@@ -18,13 +18,11 @@ 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 \
fi
done
$(INSTALL) -d $(DESTDIR)$(libdir)
if [ "$(ls -A libs/lib*)" ]; then \
if [ "$(shell ls -A libs/lib*)" ]; then \
for f in libs/lib*; do \
$(INSTALL) -m 444 $$f $(DESTDIR)$(libdir); \
done \
......
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