]> git.eshelyaron.com Git - emacs.git/commitdiff
bootstrap should not delete dumped executables:
authorRichard M. Stallman <rms@gnu.org>
Mon, 26 Nov 2001 11:00:17 +0000 (11:00 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 26 Nov 2001 11:00:17 +0000 (11:00 +0000)
(bootstrap-clean-before): New target.
(bootstrap): Use bootstrap-clean-before instead of clean.
(bootstrap-clean-after): Renamed from bootstrap-clean.  Calls changed.

Makefile.in

index 0e308300f51e5ea30827e4c34614f148605b200b..fad910c7e1e2db84fd079a37e84fabd4682d0780 100644 (file)
@@ -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)