]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/Makefile.am (install-data-local): Don't forget about
authorGary V. Vaughan <gary@gnu.org>
Wed, 23 Feb 2005 15:45:03 +0000 (15:45 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 23 Feb 2005 15:45:03 +0000 (15:45 +0000)
$(DESTDIR).

ChangeLog
libltdl/Makefile.am

index 6d3849d28bef959f467227bcc217f48d5efcb920..d4188f655b542b361eea2ec360bf8b603bd908b4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-23  Gary V. Vaughan  <gary@gnu.org>
+
+       * libltdl/Makefile.am (install-data-local): Don't forget about
+       $(DESTDIR).
+
 2005-02-23  Gary V. Vaughan  <gary@gnu.org>
 
        Preserving the installed timestamps for libltdl sources from
index a66261150e512974934b2a838ffb768a14213136..4ed193372b59254a32d826608cfba6a813986110 100644 (file)
@@ -80,9 +80,10 @@ ltdldatafiles                = COPYING.LIB Makefile.am README configure.ac \
 ## To avoid spurious reconfiguration when the user installs these files
 ## with libtoolize, we have to preserve their timestamps carefully:
 install-data-local:
-       $(mkinstalldirs) $(ltdldatadir)
+       -rm -rf $(DESTDIR)$(ltdldatadir)
+       $(mkinstalldirs) $(DESTDIR)$(ltdldatadir)
        $(AMTAR) cf - $(ltdldatafiles) \
-         | ( cd $(ltdldatadir) && $(AMTAR) xf -; )
+         | ( cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )
 
 ## Make sure these will be cleaned even when they're not built by default:
 CLEANFILES             = libltdl.la libltdlc.la libdlloader.la