Mercurial > emacs
changeset 28291:a4faa7999de1
(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.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 24 Mar 2000 12:14:43 +0000 |
parents | 4aafdd90bf08 |
children | 156a858432c4 |
files | lisp/Makefile |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/Makefile Fri Mar 24 12:12:58 2000 +0000 +++ b/lisp/Makefile Fri Mar 24 12:14:43 2000 +0000 @@ -137,10 +137,14 @@ 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.