summaryrefslogtreecommitdiff
path: root/lib/am/ltlib.am
diff options
context:
space:
mode:
authorAkim Demaille <akim@epita.fr>2001-03-05 14:42:56 +0000
committerAkim Demaille <akim@epita.fr>2001-03-05 14:42:56 +0000
commit5b77c84dcd8cf6e421cc3b67b9b2d00f0fc4aa2e (patch)
tree8c9f6807c5c18abbeae1109d993da8cbdff347a7 /lib/am/ltlib.am
parent91219a8d61dcf20faf7e74058945fa5bf62200d8 (diff)
downloadautomake-5b77c84dcd8cf6e421cc3b67b9b2d00f0fc4aa2e.tar.gz
* automake.in (&file_contents): Transform LIBTOOL.
(&am_install_var): Remove $ltxform. * ltlib.am, progs.am: Adjust.
Diffstat (limited to 'lib/am/ltlib.am')
-rw-r--r--lib/am/ltlib.am12
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/am/ltlib.am b/lib/am/ltlib.am
index 9877e2e65..4ed93d97c 100644
--- a/lib/am/ltlib.am
+++ b/lib/am/ltlib.am
@@ -31,8 +31,10 @@ install-%DIR%LTLIBRARIES: $(%DIR%_LTLIBRARIES)
## if the program doesn't have a name that libtool expects.
## Use INSTALL and not INSTALL_DATA because libtool knows the right
## permissions to use.
- echo " %LIBTOOL --mode=install% $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(%NDIR%dir)/$$p"; \
- %LIBTOOL --mode=install% $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(%NDIR%dir)/$$p; \
+?LIBTOOL? echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(%NDIR%dir)/$$p"; \
+?LIBTOOL? $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(%NDIR%dir)/$$p; \
+?!LIBTOOL? echo " $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(%NDIR%dir)/$$p"; \
+?!LIBTOOL? $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(%NDIR%dir)/$$p; \
else :; fi; \
done
@@ -40,6 +42,8 @@ install-%DIR%LTLIBRARIES: $(%DIR%_LTLIBRARIES)
uninstall-%DIR%LTLIBRARIES:
@$(NORMAL_UNINSTALL)
@list='$(%DIR%_LTLIBRARIES)'; for p in $$list; do \
- echo " %LIBTOOL --mode=uninstall% rm -f $(DESTDIR)$(%NDIR%dir)/$$p"; \
- %LIBTOOL --mode=uninstall% rm -f $(DESTDIR)$(%NDIR%dir)/$$p; \
+?LIBTOOL? echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(%NDIR%dir)/$$p"; \
+?LIBTOOL? $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(%NDIR%dir)/$$p; \
+?!LIBTOOL? echo " rm -f $(DESTDIR)$(%NDIR%dir)/$$p"; \
+?!LIBTOOL? rm -f $(DESTDIR)$(%NDIR%dir)/$$p; \
done