]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/Makefile.am (install-data-local): cd to $(srcdir) before
authorGary V. Vaughan <gary@gnu.org>
Sun, 27 Feb 2005 00:00:42 +0000 (00:00 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sun, 27 Feb 2005 00:00:42 +0000 (00:00 +0000)
tarring up the files for installation to $(DESTDIR)$(ltdldatadir).
Don't remove the destination directory, since that interacts badly
with the multi-Makefile installation.
* libltdl/loaders/Makefile.am (install-data-local): Ditto.

ChangeLog
libltdl/Makefile.am
libltdl/loaders/Makefile.am

index 72e1078bce3a752bc837f6c11bb888592ef36ccd..33bd13dbeda56f6a09985b00384e375e6828f4f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-02-26  Gary V. Vaughan  <gary@gnu.org>
+
+       * libltdl/Makefile.am (install-data-local):  cd to $(srcdir) before
+       tarring up the files for installation to $(DESTDIR)$(ltdldatadir).
+       Don't remove the destination directory, since that interacts badly
+       with the multi-Makefile installation.
+       * libltdl/loaders/Makefile.am (install-data-local): Ditto.
+
 2005-02-26  Gary V. Vaughan  <gary@gnu.org>
 
        I assume that it is okay to have undefined symbols in convenience
index 6541739c187dd6f8e569f46d33fb168a9a6e830b..b0ae282f3b1d14f5c7975603706491bf533d22b5 100644 (file)
@@ -76,9 +76,8 @@ 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:
-       -rm -rf $(DESTDIR)$(ltdldatadir)
        $(mkinstalldirs) $(DESTDIR)$(ltdldatadir)
-       $(AMTAR) cf - $(ltdldatafiles) \
+       ( cd $(srcdir) && $(AMTAR) cf - $(ltdldatafiles); ) \
          | ( cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )
 
 ## Make sure these will be cleaned even when they're not built by default:
index 3c94c263b9cd34219e48f320b18663f31c82440b..4e732f951a6bb5b5d9682d7911c7298bbfd9092c 100644 (file)
@@ -53,7 +53,6 @@ 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:
-       -rm -rf $(DESTDIR)$(ltdldatadir)
        $(mkinstalldirs) $(DESTDIR)$(ltdldatadir)
-       $(AMTAR) cf - $(ltdldatafiles) \
+       ( cd $(srcdir) && $(AMTAR) cf - $(ltdldatafiles) preopen.c; ) \
          | ( cd $(DESTDIR)$(ltdldatadir) && $(AMTAR) xf -; )