summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>1999-10-23 13:22:51 +0000
committerGerd Moellmann <gerd@gnu.org>1999-10-23 13:22:51 +0000
commit3b6914291b97b1cb415fac313bab1a0b93433fd4 (patch)
treea28bd7613ca465e7b1b8deaa3256c793e02ff5d6 /Makefile.in
parenta9b67cf499888ec4431c4b63c21f5c1d7ca43a77 (diff)
downloademacs-3b6914291b97b1cb415fac313bab1a0b93433fd4.tar.gz
(bootstrap): New target.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 0abe54fc887..e4e6e3434d6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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)
+