From 36801f7f476c0917d908051abe5e0cd889a0afeb Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 2 Mar 2004 22:10:07 +0000 Subject: [PATCH] (AUTOGENEL): New var. (bootstrap-prepare): Rename from bootstrap-clean. Don't remove elc files. (maintainer-clean): New target. --- lisp/Makefile.in | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/lisp/Makefile.in b/lisp/Makefile.in index fad13704c3c..5d9abc8683c 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in @@ -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. -- 2.39.2