]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Sat Sep 26 16:31:29 1998 Tom Tromey <tromey@cygnus.com>
authorTom Tromey <tromey@redhat.com>
Sat, 26 Sep 1998 15:36:49 +0000 (15:36 +0000)
committerTom Tromey <tromey@redhat.com>
Sat, 26 Sep 1998 15:36:49 +0000 (15:36 +0000)
* ltlib.am: Use $(INSTALL) and not $(INSTALL_DATA).

ChangeLog
lib/am/ltlib.am
ltlib.am

index a5a6fada4c7e079933b624d46c278c1e0c88881c..1796bd8d82b46ff84856714b8fa34ac769a00a26 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Sep 26 16:31:29 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * ltlib.am: Use $(INSTALL) and not $(INSTALL_DATA).
+
 Mon Sep 14 08:27:38 1998  Per Cederqvist  <ceder@lysator.liu.se>
 
        * automake.in (handle_texinfo): The logic for when to provide
index ff5bbe65ee6df08edebb4c521128d44ba5a0d193..50200fe37b0a5e5fcf790fba7729f20de873b9fb 100644 (file)
@@ -24,8 +24,10 @@ install-@DIR@LTLIBRARIES: $(@DIR@_LTLIBRARIES)
          if test -f $$p; then \
 ## Note that we explicitly set the libtool mode.  This avoids any lossage
 ## if the program doesn't have a name that libtool expects.
-           echo "@LIBTOOL --mode=install@ $(INSTALL_DATA) $$p $(DESTDIR)$(@DIR@dir)/$$p"; \
-           @LIBTOOL --mode=install@ $(INSTALL_DATA) $$p $(DESTDIR)$(@DIR@dir)/$$p; \
+## Use INSTALL and not INSTALL_DATA because libtool knows the right
+## permissions to use.
+           echo "@LIBTOOL --mode=install@ $(INSTALL) $$p $(DESTDIR)$(@DIR@dir)/$$p"; \
+           @LIBTOOL --mode=install@ $(INSTALL) $$p $(DESTDIR)$(@DIR@dir)/$$p; \
          else :; fi; \
        done
 
index ff5bbe65ee6df08edebb4c521128d44ba5a0d193..50200fe37b0a5e5fcf790fba7729f20de873b9fb 100644 (file)
--- a/ltlib.am
+++ b/ltlib.am
@@ -24,8 +24,10 @@ install-@DIR@LTLIBRARIES: $(@DIR@_LTLIBRARIES)
          if test -f $$p; then \
 ## Note that we explicitly set the libtool mode.  This avoids any lossage
 ## if the program doesn't have a name that libtool expects.
-           echo "@LIBTOOL --mode=install@ $(INSTALL_DATA) $$p $(DESTDIR)$(@DIR@dir)/$$p"; \
-           @LIBTOOL --mode=install@ $(INSTALL_DATA) $$p $(DESTDIR)$(@DIR@dir)/$$p; \
+## Use INSTALL and not INSTALL_DATA because libtool knows the right
+## permissions to use.
+           echo "@LIBTOOL --mode=install@ $(INSTALL) $$p $(DESTDIR)$(@DIR@dir)/$$p"; \
+           @LIBTOOL --mode=install@ $(INSTALL) $$p $(DESTDIR)$(@DIR@dir)/$$p; \
          else :; fi; \
        done