]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Preserving the installed timestamps for libltdl sources from
authorGary V. Vaughan <gary@gnu.org>
Wed, 23 Feb 2005 15:13:30 +0000 (15:13 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 23 Feb 2005 15:13:30 +0000 (15:13 +0000)
`libtoolize --ltdl --copy' is pointless if they are not preserved
from the libtool source tree at install time:

* libltdl/Makefile.am, libltdl/loaders/Makefile.am
(nobase_ltdldata_DATA): Renamed to...
(ltdldatafiles): ...this.
(install-data-local): New rule to install libltdl tree with tar to
preserve timestamps.

ChangeLog
libltdl/Makefile.am
libltdl/loaders/Makefile.am

index 47dbca4ff5586df15da7d0190b0bf42fae27ae01..18c3b8bc6edb2860c872c98b0094ce8ddbcc960e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2005-02-23  Gary V. Vaughan  <gary@gnu.org>
+
+       Preserving the installed timestamps for libltdl sources from
+       `libtoolize --ltdl --copy' is pointless if they are not preserved
+       from the libtool source tree at install time:
+
+       * libltdl/Makefile.am, libltdl/loaders/Makefile.am
+       (nobase_ltdldata_DATA): Renamed to...
+       (ltdldatafiles): ...this.
+       (install-data-local): New rule to install libltdl tree with tar to
+       preserve timestamps.
+
 2005-02-23  Christoph Egger  <Christoph_Egger@gmx.de> (tiny change)
 
        * config/ltmain.m4sh (func_mode_link): Add -pthread like flags to
index 35fea5928947536e89f94dca358a13cf6cfe1240..c51aeed1eda9da1206cde33e2cb56953131d7895 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 ##
-## Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004 Free Software Foundation
+## Copyright (C) 1998, 1999, 2000, 2001, 2003, 2004, 2005 Free Software Foundation
 ##
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -71,12 +71,19 @@ libltdlc_la_LIBADD  = $(libdlloader_la_LIBADD)
 ## These are installed as a subdirectory of pkgdatadir so that
 ## libtoolize --ltdl can find them later:
 ltdldatadir            = $(pkgdatadir)/libltdl
-nobase_ltdldata_DATA   = COPYING.LIB Makefile.am README configure.ac \
+ltdldatafiles          = COPYING.LIB Makefile.am README configure.ac \
                          $(libltdl_la_SOURCES) $(libdlloader_la_SOURCES) \
                          lt__dirent.c libltdl/lt__dirent.h \
                           lt__strl.c libltdl/lt__strl.h \
                          argz_.h argz.c
 
+## To avoid spurious reconfiguration when the user installs these files
+## with libtoolize, we have to preserve their timestamps carefully:
+install-data-local:
+       $(mkinstalldirs) $(ltdldatadir)
+       $(AMTAR) cf - $(ltdldatafiles) \
+         | ( cd $(ltdldatadir) && $(AMTAR) xf -; )
+
 ## Make sure these will be cleaned even when they're not built by default:
 CLEANFILES             = libltdl.la libltdlc.la libdlloader.la
 
index 6663b86c2ef7d7d624526fdee99887c6882c7955..7b44e767e2059fc605bcdd0ecb13ba3f62b57626 100644 (file)
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 ##
-## Copyright (C) 2004 Free Software Foundation
+## Copyright (C) 2004, 2005 Free Software Foundation
 ##
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -51,8 +51,15 @@ dld_link_la_LIBADD   = ../libdlloader.la -ldld
 ## These are installed as a subdirectory of pkgdatadir so that
 ## libtoolize --ltdl can find them later:
 ltdldatadir            = $(pkgdatadir)/libltdl/loaders
-ltdldata_DATA          = Makefile.am dld_link.c dlopen.c dyld.c \
+ltdldatafiles          = Makefile.am dld_link.c dlopen.c dyld.c \
                          load_add_on.c loadlibrary.c shl_load.c
 
+## To avoid spurious reconfiguration when the user installs these files
+## with libtoolize, we have to preserve their timestamps carefully:
+install-data-local:
+       $(mkinstalldirs) $(ltdldatadir)
+       $(AMTAR) cf - $(ltdldatafiles) \
+         | ( cd $(ltdldatadir) && $(AMTAR) xf -; )
+
 ../libdlloader.la:
        cd ..; $(MAKE) $(AM_MAKEFLAGS) libdlloader.la