From: Gary V. Vaughan Date: Wed, 23 Feb 2005 15:45:03 +0000 (+0000) Subject: * libltdl/Makefile.am (install-data-local): Don't forget about X-Git-Tag: release-2-1b~745 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e25bb10f1c0eb50539b0998b8f548df1bb0a9b7;p=thirdparty%2Flibtool.git * libltdl/Makefile.am (install-data-local): Don't forget about $(DESTDIR). --- diff --git a/ChangeLog b/ChangeLog index 6d3849d28..d4188f655 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-02-23 Gary V. Vaughan + + * libltdl/Makefile.am (install-data-local): Don't forget about + $(DESTDIR). + 2005-02-23 Gary V. Vaughan Preserving the installed timestamps for libltdl sources from diff --git a/libltdl/Makefile.am b/libltdl/Makefile.am index a66261150..4ed193372 100644 --- a/libltdl/Makefile.am +++ b/libltdl/Makefile.am @@ -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