]> git.eshelyaron.com Git - emacs.git/commitdiff
(AUTOGENEL): New var.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 2 Mar 2004 22:10:07 +0000 (22:10 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 2 Mar 2004 22:10:07 +0000 (22:10 +0000)
(bootstrap-prepare): Rename from bootstrap-clean.  Don't remove elc files.
(maintainer-clean): New target.

lisp/Makefile.in

index fad13704c3c0965d36d41a7d3015a71f72334ab3..5d9abc8683c4bd435d8073dc9e8e097c9c6c16a8 100644 (file)
@@ -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 @@ DONTCOMPILE = \
        $(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 @@ $(lisp)/progmodes/cc-mode.elc: \
 # 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 @@ bootstrap-clean:
            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.