1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

Fix ‘make bootstrap’ when the *.m4 files change

This should help avoid problems like Bug#58535.
* Makefile.in (bootstrap-clean): Also remove autom4te.cache.
This commit is contained in:
Paul Eggert 2022-10-15 11:59:11 -07:00
parent 215f65d1dc
commit 0ff389c0c1

View File

@ -52,14 +52,14 @@
# make bootstrap # make bootstrap
# Removes all the compiled files to force a new bootstrap from a # 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 # 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 # variable is set, then the autom4te.cache directory and the
# allows you to say # config.cache file are not removed. This lets you say
# #
# ./configure -C # ./configure -C
# make FAST=true bootstrap # make FAST=true bootstrap
# #
# and use the cached results from the configure run, which is much # and use the cached results from the configure run, which is much
# faster. # faster though it does not work in general.
# #
# make docs # make docs
# Make Emacs documentation files from their sources; requires makeinfo. # 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 -f ${srcdir}/etc/refcards/emacsver.tex
rm -rf native-lisp/ lisp/leim/ja-dic/ rm -rf native-lisp/ lisp/leim/ja-dic/
ifndef FAST ifndef FAST
rm -f config.cache rm -fr autom4te.cache config.cache
endif endif
${top_bootclean} ${top_bootclean}