mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 06:31:34 -08:00
(bootstrap-clean): If $(emacs) exists, build
loaddefs.el first. A loaddefs.el that's not up-to-date might cause a bootstrap failure because things don't autoload as expected.
This commit is contained in:
parent
9f7c6da9c5
commit
03adf1eea7
1 changed files with 6 additions and 2 deletions
|
|
@ -137,10 +137,14 @@ compile: backup-compiled-files compile-files
|
|||
recompile: doit
|
||||
$(emacs) -f batch-byte-recompile-directory .
|
||||
|
||||
# Remove files for a bootstrap. Compiled Lisp files must be removed
|
||||
# because otherwise `bootstrap-emacs' would not be built from sources.
|
||||
# Prepare a bootstrap in the lisp subdirectory. Build loaddefs.el,
|
||||
# because it's not sure it's up-to-date, and if it's not, that might
|
||||
# lead to errors during the bootstrap because something fails to
|
||||
# autoload as expected. Remove compiled Lisp files so that
|
||||
# bootstrap-emacs will be built from sources only.
|
||||
|
||||
bootstrap-clean:
|
||||
if test -f $(emacs); then $(MAKE) $(MFLAGS) autoloads; fi
|
||||
-rm -f *.elc */*.elc
|
||||
|
||||
# Generate/update files for the bootstrap process.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue