From: Tom Tromey Date: Tue, 25 Nov 1997 21:21:25 +0000 (+0000) Subject: libtool fix X-Git-Tag: Release-1-2d~5 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=d3977532addf1547e7bcbc28d13a83b703245d5b;p=automake.git libtool fix --- diff --git a/ChangeLog b/ChangeLog index ecafc520..1bf7cfad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Nov 25 14:20:42 1997 Tom Tromey + + * ltlib.am: Use INSTALL_DATA, not INSTALL_PROGRAM. From Gord + Matzigkeit. + Fri Nov 21 15:15:50 1997 Tom Tromey * m4/mingw.m4, m4/cygwin.4m: Argument to AC_TRY_COMPILE is diff --git a/lib/am/ltlib.am b/lib/am/ltlib.am index 1fe054b4..fd3f7991 100644 --- a/lib/am/ltlib.am +++ b/lib/am/ltlib.am @@ -1,5 +1,5 @@ ## automake - create Makefile.in from Makefile.am -## Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. +## Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -24,8 +24,8 @@ 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_PROGRAM) $$p $(@DIR@dir)/$$p"; \ - @LIBTOOL --mode=install@ $(INSTALL_PROGRAM) $$p $(@DIR@dir)/$$p; \ + echo "@LIBTOOL --mode=install@ $(INSTALL_DATA) $$p $(@DIR@dir)/$$p"; \ + @LIBTOOL --mode=install@ $(INSTALL_DATA) $$p $(@DIR@dir)/$$p; \ else :; fi; \ done diff --git a/ltlib.am b/ltlib.am index 1fe054b4..fd3f7991 100644 --- a/ltlib.am +++ b/ltlib.am @@ -1,5 +1,5 @@ ## automake - create Makefile.in from Makefile.am -## Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc. +## Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc. ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -24,8 +24,8 @@ 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_PROGRAM) $$p $(@DIR@dir)/$$p"; \ - @LIBTOOL --mode=install@ $(INSTALL_PROGRAM) $$p $(@DIR@dir)/$$p; \ + echo "@LIBTOOL --mode=install@ $(INSTALL_DATA) $$p $(@DIR@dir)/$$p"; \ + @LIBTOOL --mode=install@ $(INSTALL_DATA) $$p $(@DIR@dir)/$$p; \ else :; fi; \ done