libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: 35-gary-delete-old-pkgdatadir.patch


From: Gary V. Vaughan
Subject: FYI: 35-gary-delete-old-pkgdatadir.patch
Date: Fri, 07 Nov 2003 15:18:44 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3

Hi Bob,

Cleaning out my TODO list...

Gary V. Vaughan wrote:
Bob Friesenhahn wrote:
On Thu, 16 Oct 2003, Bob Friesenhahn wrote:
libtoolize: copying file `./ltconfig'    <---????

I thought that ltconfig was a dead duck.

It is. I guess we need to change the installation to clean up the $prefix/share/libtool directory before installing over the top of an ancient directory. Especially since the new libtoolize copies whatever it finds in that directory.

Applied the attached to HEAD.

Cheers,
        Gary.
--
  ())_.  Gary V. Vaughan    gary@(lilith.warpmail.net|gnu.org)
  ( '/   Research Scientist http://www.oranda.demon.co.uk       ,_())____
  / )=   GNU Hacker         http://www.gnu.org/software/libtool  \'      `&
`(_~)_   Tech' Author       http://sources.redhat.com/autobook   =`---d__/
Index: ChangeLog
from  Gary V. Vaughan  <address@hidden>
        * Makefile.am (install-data-local): Wipe out old installation
        pkgdatadir before installing new files.
        * NEWS: Updated.

Index: NEWS
===================================================================
RCS file: /cvsroot/libtool/libtool/NEWS,v
retrieving revision 1.123
diff -u -p -u -r1.123 NEWS
--- NEWS 7 Nov 2003 03:14:10 -0000 1.123
+++ NEWS 7 Nov 2003 15:10:53 -0000
@@ -19,6 +19,8 @@ New in 1.5b: 2003-??-??; CVS version 1.5
 * 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.
Index: Makefile.am
===================================================================
RCS file: /cvsroot/libtool/libtool/Makefile.am,v
retrieving revision 1.73
diff -u -p -u -r1.73 Makefile.am
--- Makefile.am 21 Oct 2003 15:03:54 -0000 1.73
+++ Makefile.am 7 Nov 2003 15:10:53 -0000
@@ -70,6 +70,10 @@ configure-subdirs distdir: $(DIST_MAKEFI
        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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]