summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2004-11-07 23:27:18 +0000
committerKim F. Storm <storm@cua.dk>2004-11-07 23:27:18 +0000
commit7d8c5046da2a46ce13cd82f4d6257706fd8fbdbd (patch)
tree660b6b26d35dd327d178dd3e75cb707570743a26 /Makefile.in
parentb48e3ee84ac484ce77e1aad3dd634c6ba47236b5 (diff)
downloademacs-7d8c5046da2a46ce13cd82f4d6257706fd8fbdbd.tar.gz
(bootstrap, bootstrap-clean-before): Remove .elc
files before building. (bootfast, bootstrap-clean-before-fast): New targets, like bootstrap but don't remove .elc files.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 34b9965b60e..8bc43d4ce80 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -726,6 +726,8 @@ dvi:
### used to compile Lisp files. The last step is a "normal" make.
.PHONY: bootstrap
+.PHONY: bootstrap-build
+.PHONY: bootfast
.PHONY: maybe_bootstrap
maybe_bootstrap:
@@ -737,7 +739,11 @@ maybe_bootstrap:
exit 1;\
fi
-bootstrap: bootstrap-clean-before info FRC
+bootstrap: bootstrap-clean-before info bootstrap-build FRC
+
+bootfast: bootstrap-clean-before-fast info bootstrap-build FRC
+
+bootstrap-build: FRC
(cd lisp; $(MAKE) $(MFLAGS) bootstrap-prepare)
(cd src; $(MAKE) $(MFLAGS) bootstrap)
(cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=../src/bootstrap-emacs${EXEEXT})
@@ -746,7 +752,11 @@ bootstrap: bootstrap-clean-before info FRC
(cd lisp; $(MAKE) $(MFLAGS) bootstrap-after)
### Used for `bootstrap' to avoid deleting existing dumped Emacs executables.
-bootstrap-clean-before: FRC
+bootstrap-clean-before: bootstrap-clean-before-fast FRC
+ (cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean)
+
+### Used for `bootstrap' to avoid deleting existing dumped Emacs executables.
+bootstrap-clean-before-fast: FRC
(cd src; $(MAKE) $(MFLAGS) mostlyclean)
(cd oldXMenu; $(MAKE) $(MFLAGS) clean)
(cd lwlib; $(MAKE) $(MFLAGS) clean)