From 6aca7d9c1ff561dc7871985e40dd0f0e494fb93f Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Fri, 7 Nov 2003 15:11:51 +0000 Subject: [PATCH] * Makefile.am (install-data-local): Wipe out old installation pkgdatadir before installing new files. * NEWS: Updated. --- ChangeLog | 4 ++++ Makefile.am | 4 ++++ NEWS | 2 ++ 3 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index bd7fc84d3..2ddf4882b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2003-11-07 Gary V. Vaughan + * Makefile.am (install-data-local): Wipe out old installation + pkgdatadir before installing new files. + * NEWS: Updated. + * m4/libtoolize.in (func_scan_files): If libtoolize is run before automake has created install-sh and configure.ac does not mention AC_CONFIG_AUX_DIR, fall back to the current directory for auxdir. diff --git a/Makefile.am b/Makefile.am index 2f537d193..02125358e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -70,6 +70,10 @@ configure-subdirs distdir: $(DIST_MAKEFILE_LIST) abs_srcdir=`cd $(top_srcdir) && pwd`; \ (cd $$dir && $$abs_srcdir/$$dir/configure) || exit 1 +# Don't install over the top of an old pkgdatadir +install-data-local: + -rm -rf $(DESTDIR)$(pkgdatadir) + # Create and install libltdl install-data-hook: cd libltdl && $(MAKE) local-install-files diff --git a/NEWS b/NEWS index 47ad6a2ef..6950f7d81 100644 --- a/NEWS +++ b/NEWS @@ -19,6 +19,8 @@ New in 1.5b: 2003-??-??; CVS version 1.5a, Libtool team: * Mode inferrence removed, shorthand for choosing modes added. * Specifying -allow-undefined is now an error. * Speed up max_cmd_len check. +* make install now deletes preexisting $prefix/share/libtool before installing + latest files. * Extracting symbols from an import library on cygwin and win32 now works. * Recognises the 'R' symbol type on Solaris so read-only symbols can be exported. -- 2.47.2