libtool-patches
[Top][All Lists]
Advanced

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

FYI: 118-gary-libltdl-install-destdir.patch


From: Gary V. Vaughan
Subject: FYI: 118-gary-libltdl-install-destdir.patch
Date: Wed, 23 Feb 2005 15:47:38 +0000
User-agent: Mozilla Thunderbird 0.9 (X11/20041103)

Gah! This is turning out to be fiddlier than I had anticipated.
Another tweak to the timestamp preservation fix, for HEAD and
branch-2-0.

Cheers,
        Gary.
-- 
Gary V. Vaughan      ())_.  address@hidden,gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker           / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
Index: ChangeLog
from  Gary V. Vaughan  <address@hidden>
        * libltdl/Makefile.am (install-data-local): Don't forget about
        $(DESTDIR).

Index: libltdl/Makefile.am
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/Makefile.am,v
retrieving revision 1.70
diff -u -p -r1.70 Makefile.am
--- libltdl/Makefile.am 23 Feb 2005 14:40:38 -0000 1.70
+++ libltdl/Makefile.am 23 Feb 2005 15:41:51 -0000
@@ -80,9 +80,10 @@ ltdldatafiles                = COPYING.LIB Makefile.am
 ## 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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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