emacs-diffs
[Top][All Lists]
Advanced

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

master 0ff389c0c1: Fix ‘make bootstrap’ when the *.m4 files change


From: Paul Eggert
Subject: master 0ff389c0c1: Fix ‘make bootstrap’ when the *.m4 files change
Date: Sat, 15 Oct 2022 14:59:43 -0400 (EDT)

branch: master
commit 0ff389c0c17b0b2938e79640e86b594344f20e55
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>

    Fix ‘make bootstrap’ when the *.m4 files change
    
    This should help avoid problems like Bug#58535.
    * Makefile.in (bootstrap-clean): Also remove autom4te.cache.
---
 Makefile.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 2d617e2294..45b4a59e3d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -52,14 +52,14 @@
 # make bootstrap
 #      Removes all the compiled files to force a new bootstrap from a
 #      clean slate, and then build in the normal way.  If the FAST Make
-#      variable is set, then the config.cache file isn't removed.  This
-#      allows you to say
+#      variable is set, then the autom4te.cache directory and the
+#      config.cache file are not removed.  This lets you say
 #
 #      ./configure -C
 #      make FAST=true bootstrap
 #
 #      and use the cached results from the configure run, which is much
-#      faster.
+#      faster though it does not work in general.
 #
 # make docs
 #      Make Emacs documentation files from their sources; requires makeinfo.
@@ -1040,7 +1040,7 @@ bootstrap-clean: $(distclean_dirs:=_bootstrap-clean)
        rm -f ${srcdir}/etc/refcards/emacsver.tex
        rm -rf native-lisp/ lisp/leim/ja-dic/
 ifndef FAST
-       rm -f config.cache
+       rm -fr autom4te.cache config.cache
 endif
        ${top_bootclean}
 



reply via email to

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