changeset 54244:9df8cecf70d2

(AUTOGENEL): New var. (bootstrap-prepare): Rename from bootstrap-clean. Don't remove elc files. (maintainer-clean): New target.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 02 Mar 2004 22:10:07 +0000
parents 586ffda6e9f9
children 5e87926b06f4
files lisp/Makefile.in
diffstat 1 files changed, 12 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/Makefile.in	Tue Mar 02 21:45:06 2004 +0000
+++ b/lisp/Makefile.in	Tue Mar 02 22:10:07 2004 +0000
@@ -1,5 +1,5 @@
 # Maintenance productions for the Lisp directory
-# Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
+# Copyright (C) 2000, 01, 03, 2004  Free Software Foundation, Inc.
 
 # This file is part of GNU Emacs.
 
@@ -110,6 +110,13 @@
 	$(lisp)/term/wyse50.el \
 	$(lisp)/version.el
 
+# Elisp files auto-generated.
+AUTOGENEL = loaddefs.el \
+	cus-load.el \
+	finder-inf.el \
+	subdirs.el \
+	eshell/esh-groups.el
+
 # Files to compile before others during a bootstrap.  This is done to
 # speed up the bootstrap process.  The CC files are compiled first
 # because CC mode tweaks the compilation process, and requiring
@@ -294,11 +301,8 @@
 # it's necessary for generating the binary (because loaddefs.el is an
 # automatically generated file, we don't want to store it in the source
 # repository).
-#
-# Remove compiled Lisp files so that bootstrap-emacs will be built from
-# sources only.
 
-bootstrap-clean:
+bootstrap-prepare:
 	if test -x $(EMACS); then				\
 	  $(MAKE) $(MFLAGS) autoloads;				\
 	else							\
@@ -306,7 +310,9 @@
 	    cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el;	\
 	  fi							\
 	fi
-	cd $(lisp); rm -f *.elc */*.elc
+
+maintainer-clean:
+	cd $(lisp); rm -f *.elc */*.elc $(AUTOGENEL)
 
 # Generate/update files for the bootstrap process.