changeset 26146:29159179b7fe

(bootstrap): New target.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 23 Oct 1999 13:22:51 +0000
parents 760a5b91fe7f
children 733f9b6c7af2
files Makefile.in
diffstat 1 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Sat Oct 23 13:22:02 1999 +0000
+++ b/Makefile.in	Sat Oct 23 13:22:51 1999 +0000
@@ -620,3 +620,18 @@
 	(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)
+