summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2001-11-26 11:00:17 +0000
committerRichard M. Stallman <rms@gnu.org>2001-11-26 11:00:17 +0000
commit623c2030ef97096d647fc5f36785e0908c5045f5 (patch)
treeeefa271b7f9579d09961541b40b832927def75f5 /Makefile.in
parent05d6956f0ca06c5a15ffe7ab2fbaadfef2e75182 (diff)
downloademacs-623c2030ef97096d647fc5f36785e0908c5045f5.tar.gz
bootstrap should not delete dumped executables:
(bootstrap-clean-before): New target. (bootstrap): Use bootstrap-clean-before instead of clean. (bootstrap-clean-after): Renamed from bootstrap-clean. Calls changed.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in17
1 files changed, 14 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 0e308300f51..fad910c7e1e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -696,7 +696,7 @@ maybe_bootstrap:
$(MAKE) $(MFLAGS) bootstrap; \
fi
-bootstrap: clean bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean all info
+bootstrap: boostrap-clean-before bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean all info
bootstrap-lisp-1:
(cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean)
@@ -707,5 +707,16 @@ bootstrap-lisp:
bootstrap-src:
(cd src; $(MAKE) $(MFLAGS) bootstrap)
-bootstrap-clean:
- (cd src; $(MAKE) $(MFLAGS) clean)
+### Used for `bootstrap' to avoid deleting existing dumped Emacs executables.
+bootstrap-clean-before: FRC
+ (cd src; $(MAKE) $(MFLAGS) mostlyclean)
+ (cd oldXMenu; $(MAKE) $(MFLAGS) clean)
+ (cd lwlib; $(MAKE) $(MFLAGS) clean)
+ (cd lib-src; $(MAKE) $(MFLAGS) clean)
+ -(cd man && $(MAKE) $(MFLAGS) clean)
+ -(cd lispref && $(MAKE) $(MFLAGS) clean)
+ -(cd lispintro && $(MAKE) $(MFLAGS) clean)
+ (cd leim; $(MAKE) $(MFLAGS) clean)
+
+bootstrap-clean-after:
+ (cd src; $(MAKE) $(MFLAGS) mostlyclean)