1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

(AUTOGENEL): New var.

(bootstrap-prepare): Rename from bootstrap-clean.  Don't remove elc files.
(maintainer-clean): New target.
This commit is contained in:
Stefan Monnier 2004-03-02 22:10:07 +00:00
parent 2e9bdf15e6
commit 36801f7f47

View 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.