(bootstrap): New target.

This commit is contained in:
Gerd Moellmann 1999-10-23 13:22:51 +00:00
parent a9b67cf499
commit 3b6914291b

View file

@ -620,3 +620,18 @@ info: force-info
(cd man; $(MAKE) $(MFLAGS) info)
dvi:
(cd man; $(MAKE) $(MFLAGS) dvi)
#### Bootstrapping.
### This is meant for Emacs maintainers only. It first cleans the
### lisp subdirectory, removing all compiled Lisp files. Then a
### special emacs executable is built from Lisp sources, which is then
### used to compile Lisp files. The last step is a "normal" make.
bootstrap: clean
(cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean)
(cd src; $(MAKE) $(MFLAGS) bootstrap)
-(cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=../src/bootstrap-emacs)
$(MAKE) $(MFLAGS) clean
$(MAKE) $(MFLAGS)