* libltdl/Makefile.am (install-data-local): Don't forget about

$(DESTDIR).
This commit is contained in:
Gary V. Vaughan 2005-02-23 15:45:03 +00:00
parent b09356c92d
commit 1e25bb10f1
2 changed files with 8 additions and 2 deletions

View File

@ -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

View 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