From 1a443dfd13bf93f6e2a1d70d29818307a772389a Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 26 Sep 1998 15:36:47 +0000 Subject: [PATCH] Sat Sep 26 16:31:29 1998 Tom Tromey * ltlib.am: Use $(INSTALL) and not $(INSTALL_DATA). --- ChangeLog | 4 ++++ lib/am/ltlib.am | 6 ++++-- ltlib.am | 6 ++++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index a5a6fada..1796bd8d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Sep 26 16:31:29 1998 Tom Tromey + + * ltlib.am: Use $(INSTALL) and not $(INSTALL_DATA). + Mon Sep 14 08:27:38 1998 Per Cederqvist * automake.in (handle_texinfo): The logic for when to provide diff --git a/lib/am/ltlib.am b/lib/am/ltlib.am index ff5bbe65..50200fe3 100644 --- a/lib/am/ltlib.am +++ b/lib/am/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 diff --git a/ltlib.am b/ltlib.am index ff5bbe65..50200fe3 100644 --- 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 -- 2.43.5