diff options
author | Jan Beulich <jbeulich@suse.com> | 2023-08-01 12:39:44 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2023-08-01 12:39:44 +0200 |
commit | c7de8f2570c31fc634f500a3f4693597004dfebf (patch) | |
tree | e56b2bbba95b71a94527a7ce4bfa19a88b588c90 /gas/doc/local.mk | |
parent | 0251080cb8d95f5187c9087c703bbd31e7c81b61 (diff) | |
download | binutils-c7de8f2570c31fc634f500a3f4693597004dfebf.zip binutils-c7de8f2570c31fc634f500a3f4693597004dfebf.tar.gz binutils-c7de8f2570c31fc634f500a3f4693597004dfebf.tar.bz2 |
gas: rework timestamp preservation on doc/asconfig.texi
PR 28909
Sadly "cp -p", doing more than just preserving the time stamp, can fail
e.g. upon trying to preserve ownership (which we don't care about), as
can be observed on e.g. Cygwin. Replace the use of -p by a use of touch,
this way also only preserving modification time.
Diffstat (limited to 'gas/doc/local.mk')
-rw-r--r-- | gas/doc/local.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/doc/local.mk b/gas/doc/local.mk index de13e3c..c48c711 100644 --- a/gas/doc/local.mk +++ b/gas/doc/local.mk @@ -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 -p $(srcdir)/%D%/$(CONFIG).texi %D%/asconfig.texi + $(AM_V_GEN)cp $(srcdir)/%D%/$(CONFIG).texi %D%/asconfig.texi && touch -m -r $(srcdir)/%D%/$(CONFIG).texi %D%/asconfig.texi $(AM_V_at)chmod u+w %D%/asconfig.texi CPU_DOCS = \ |