Do not change the timestamp when updating the gas asconfig file.
authorBenson Muite <benson_muite@emailplus.org>
Mon, 27 Feb 2023 13:35:49 +0000 (13:35 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 27 Feb 2023 13:35:49 +0000 (13:35 +0000)
 PR 28909 * doc/local.mk (asconfig.texi): Use "cp -p" to preserve timestamps. * Makefile.in: Regenerate.

gas/ChangeLog
gas/Makefile.in
gas/doc/local.mk

index ce07ce45f239e7800cde7faab7adbc261f0d278d..c9a325ebf0acce71ebb586f11bacad051a3dee48 100644 (file)
@@ -1,3 +1,10 @@
+2023-02-27  Benson Muite  <benson_muite@emailplus.org>
+
+       PR 28909
+       * doc/local.mk (asconfig.texi): Use "cp -p" to preserve
+       timestamps.
+       * Makefile.in: Regenerate.
+
 2023-02-01  Nick Clifton  <nickc@redhat.com>
 
        * dwarf2dbg.c (emit_inc_line_addr): Use unsigned constants when
index d8d4953655af7050f6fb67acd8eb538bc3dd03bb..427f42dfa3a688fa8fae39e1acd9a3ac2311019b 100644 (file)
@@ -2230,7 +2230,7 @@ de-stage3:
 
 doc/asconfig.texi: doc/$(CONFIG).texi doc/$(am__dirstamp)
        $(AM_V_at)rm -f doc/asconfig.texi
-       $(AM_V_GEN)cp $(srcdir)/doc/$(CONFIG).texi doc/asconfig.texi
+       $(AM_V_GEN)cp -p $(srcdir)/doc/$(CONFIG).texi doc/asconfig.texi
        $(AM_V_at)chmod u+w doc/asconfig.texi
 
 # Maintenance
index f611a50913ca85b4218b11a66a724c23a7eff8c5..de13e3ca8b80a63d90b1d953142ca1c4f0722fde 100644 (file)
@@ -41,7 +41,7 @@ TEXI2DVI = texi2dvi -I "$(srcdir)/%D%" -I %D% -I "$(srcdir)/../libiberty" \
 
 %D%/asconfig.texi: %D%/$(CONFIG).texi %D%/$(am__dirstamp)
        $(AM_V_at)rm -f %D%/asconfig.texi
-       $(AM_V_GEN)cp $(srcdir)/%D%/$(CONFIG).texi %D%/asconfig.texi
+       $(AM_V_GEN)cp -p $(srcdir)/%D%/$(CONFIG).texi %D%/asconfig.texi
        $(AM_V_at)chmod u+w %D%/asconfig.texi
 
 CPU_DOCS = \