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