aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2017-02-06 18:00:13 -0800
committerPaul Eggert2017-02-06 18:04:50 -0800
commitd7134989be3a83927e178bf0063aa5237bdb2a18 (patch)
treedc5de5eff4c99d51c9a6fd57d4529c24f4eb43d6
parent03a012a79679c730634537f966200878bfd1c0b4 (diff)
downloademacs-d7134989be3a83927e178bf0063aa5237bdb2a18.tar.gz
emacs-d7134989be3a83927e178bf0063aa5237bdb2a18.zip
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’.
-rw-r--r--Makefile.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 60f30b993a3..807a40a2844 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1011,12 +1011,10 @@ info_dir_deps = \
1011## slow down parallelization. 1011## slow down parallelization.
1012${srcdir}/info/dir: ${info_dir_deps} 1012${srcdir}/info/dir: ${info_dir_deps}
1013 $(AM_V_at)${MKDIR_P} ${srcdir}/info 1013 $(AM_V_at)${MKDIR_P} ${srcdir}/info
1014 $(AM_V_GEN)tempfile=info-dir.$$$$; \ 1014 $(AM_V_GEN)(cd ${srcdir}/doc && \
1015 rm -f $${tempfile}; \
1016 (cd ${srcdir}/doc && \
1017 AWK='${AWK}' ../build-aux/make-info-dir ${info_dir_inputs} \ 1015 AWK='${AWK}' ../build-aux/make-info-dir ${info_dir_inputs} \
1018 ) >$$tempfile && \ 1016 ) >$@.tmp
1019 ${srcdir}/build-aux/move-if-change $${tempfile} ${srcdir}/info/dir 1017 mv $@.tmp $@
1020 1018
1021INSTALL_DVI = install-emacs-dvi install-lispref-dvi \ 1019INSTALL_DVI = install-emacs-dvi install-lispref-dvi \
1022 install-lispintro-dvi install-misc-dvi 1020 install-lispintro-dvi install-misc-dvi