changeset 96244:6d4da22a2b95

(bootstrap-clean): Do what distclean does but don't remove Makefile. (distclean): Depend on bootstrap-clean and remove Makefile.
author Andreas Schwab <schwab@suse.de>
date Tue, 24 Jun 2008 23:44:12 +0000
parents 366bb0df9a46
children cec3bb05f699
files src/ChangeLog src/Makefile.in
diffstat 2 files changed, 14 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Jun 24 23:00:25 2008 +0000
+++ b/src/ChangeLog	Tue Jun 24 23:44:12 2008 +0000
@@ -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>
 
--- a/src/Makefile.in	Tue Jun 24 23:00:25 2008 +0000
+++ b/src/Makefile.in	Tue Jun 24 23:44:12 2008 +0000
@@ -1281,17 +1281,20 @@
 	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."