]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/loaders/Makefile.am (install-data-local): Ditto.
authorGary V. Vaughan <gary@gnu.org>
Wed, 23 Feb 2005 15:57:15 +0000 (15:57 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 23 Feb 2005 15:57:15 +0000 (15:57 +0000)
ChangeLog
libltdl/loaders/Makefile.am

index d4188f655b542b361eea2ec360bf8b603bd908b4..190a7bc93267f2e22dcd15184c09d90ac3c0209d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        * libltdl/Makefile.am (install-data-local): Don't forget about
        $(DESTDIR).
+       * libltdl/loaders/Makefile.am (install-data-local): Ditto.
 
 2005-02-23  Gary V. Vaughan  <gary@gnu.org>
 
index 00ba9cd0584476f35334839a0a8168ede636f182..e17f157d34079e772c0b22f95af43e2595660bfe 100644 (file)
@@ -57,9 +57,10 @@ ltdldatafiles                = Makefile.am dld_link.c dlopen.c dyld.c \
 ## 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 -; )
 
 ../libdlloader.la:
        cd ..; $(MAKE) $(AM_MAKEFLAGS) libdlloader.la