emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master d713498: Do not trick info/dir’s timestamp


From: Paul Eggert
Subject: [Emacs-diffs] master d713498: Do not trick info/dir’s timestamp
Date: Tue, 7 Feb 2017 02:04:54 +0000 (UTC)

branch: master
commit d7134989be3a83927e178bf0063aa5237bdb2a18
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Do not trick info/dir’s timestamp
    
    * Makefile.in (${srcdir}/info/dir): When making this file, do not
    do anything special about its timestamp.  Previously this rule
    used move-if-change, which meant that this file’s timestamp could
    end up being older than the files it depends on, and this caused
    ‘make --question info’ to fail, which caused ‘make-dist’ to fail
    now that ‘make-dist’ invokes ‘make --question info’.
---
 Makefile.in |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 60f30b9..807a40a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1011,12 +1011,10 @@ info_dir_deps = \
 ## slow down parallelization.
 ${srcdir}/info/dir: ${info_dir_deps}
        $(AM_V_at)${MKDIR_P} ${srcdir}/info
-       $(AM_V_GEN)tempfile=info-dir.$$$$; \
-       rm -f $${tempfile}; \
-       (cd ${srcdir}/doc && \
+       $(AM_V_GEN)(cd ${srcdir}/doc && \
         AWK='${AWK}' ../build-aux/make-info-dir ${info_dir_inputs} \
-       ) >$$tempfile && \
-       ${srcdir}/build-aux/move-if-change $${tempfile} ${srcdir}/info/dir
+       ) >address@hidden
+       mv address@hidden $@
 
 INSTALL_DVI = install-emacs-dvi install-lispref-dvi \
        install-lispintro-dvi install-misc-dvi



reply via email to

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