From d7134989be3a83927e178bf0063aa5237bdb2a18 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 6 Feb 2017 18:00:13 -0800 Subject: [PATCH] =?utf8?q?Do=20not=20trick=20info/dir=E2=80=99s=20timestam?= =?utf8?q?p?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * 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 60f30b993a3..807a40a2844 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 + ) >$@.tmp + mv $@.tmp $@ INSTALL_DVI = install-emacs-dvi install-lispref-dvi \ install-lispintro-dvi install-misc-dvi -- 2.39.5