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 a5a6fad..1796bd8 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 ff5bbe6..50200fe 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 ff5bbe6..50200fe 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