]> git.eshelyaron.com Git - emacs.git/commitdiff
(bootstrap-clean): Do what distclean does but don't remove
authorAndreas Schwab <schwab@suse.de>
Tue, 24 Jun 2008 23:44:12 +0000 (23:44 +0000)
committerAndreas Schwab <schwab@suse.de>
Tue, 24 Jun 2008 23:44:12 +0000 (23:44 +0000)
Makefile.
(distclean): Depend on bootstrap-clean and remove Makefile.

src/ChangeLog
src/Makefile.in

index 6a9cfc4b840f94031d117d6b19778fa5d8365606..ac75c5d24fd81b6abff5c6436d98137002cf05da 100644 (file)
@@ -2,6 +2,9 @@
 
        * Makefile.in (${lispsource}/loaddefs.el): Renamed from
        ../lisp/loaddefs.el.
+       (bootstrap-clean): Do what distclean does but don't remove
+       Makefile.
+       (distclean): Depend on bootstrap-clean and remove Makefile.
 
 2008-06-24  Chong Yidong  <cyd@stupidchicken.com>
 
index 67bd98df30a094c5ac6ae48c402156c8b4fbee25..ae2a2fe32317c66e9fc4886541e096179885d0eb 100644 (file)
@@ -1281,17 +1281,20 @@ mostlyclean:
        rm -f buildobj.lst
 clean: mostlyclean
        rm -f emacs-*.*.*${EXEEXT} emacs${EXEEXT}
-/**/# This is used in making a distribution.
-/**/# Do not use it on development directories!
-distclean: clean
-       rm -f epaths.h config.h Makefile Makefile.c config.stamp stamp-oldxmenu ../etc/DOC-*
-       mv ./.gdbinit ./.gdbinit.save
-       if test -f "${srcdir}/.gdbinit"; then rm -f ./.gdbinit.save; \
-       else mv ./.gdbinit.save ./.gdbinit; fi
 /* bootstrap-clean is used to clean up just before a bootstrap.
    It should remove all files generated during a compilation/bootstrap,
    but not things like config.status or TAGS.  */
-bootstrap-clean: distclean
+bootstrap-clean: clean
+       rm -f epaths.h config.h Makefile.c config.stamp stamp-oldxmenu ../etc/DOC-*
+       if test -f ./.gdbinit; then \
+         mv ./.gdbinit ./.gdbinit.save; \
+         if test -f "${srcdir}/.gdbinit"; then rm -f ./.gdbinit.save; \
+         else mv ./.gdbinit.save ./.gdbinit; fi; \
+       fi
+/**/# This is used in making a distribution.
+/**/# Do not use it on development directories!
+distclean: bootstrap-clean
+       rm -f Makefile
 maintainer-clean: distclean
        @echo "This command is intended for maintainers to use;"
        @echo "it deletes files that may require special tools to rebuild."