Mercurial > emacs
changeset 95243:b4feb647fec6
(SOURCES): Remove, unused.
(lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
(TAGS, TAGS-LISP): Use a single rule with multiple targets.
Exclude more '*loaddefs' files.
(compile-always): Simplify '.elc' deletion.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 23 May 2008 04:46:33 +0000 |
parents | 626b98b8e56a |
children | 91375185a2f2 |
files | lisp/Makefile.in |
diffstat | 1 files changed, 6 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/Makefile.in Fri May 23 04:44:35 2008 +0000 +++ b/lisp/Makefile.in Fri May 23 04:46:33 2008 +0000 @@ -39,9 +39,8 @@ # BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-warnings (quote (not unresolved)))' # The example above is just for developers, it should not be used by default. -SOURCES = *.el COPYING Makefile -lisptagsfiles1 = $(lisp)/[a-zA-Z]*.el -lisptagsfiles2 = $(lisp)/[a-zA-Z]*/[a-zA-Z]*.el +lisptagsfiles1 = $(lisp)/*.el +lisptagsfiles2 = $(lisp)/*/*.el ETAGS = ../lib-src/etags # Automatically generated autoload files, apart from lisp/loaddefs.el. @@ -146,13 +145,9 @@ update-authors: $(emacs) -l authors -f batch-update-authors $(srcdir)/etc/AUTHORS $(srcdir) -TAGS: $(lisptagsfiles1) $(lisptagsfiles2) - els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e "s,$(lisp)/loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \ - ${ETAGS} $$els - -TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) - els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e "s,$(lisp)/loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \ - ${ETAGS} -o TAGS-LISP $$els +TAGS TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) + els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e "s,$(lisp)/[^ ]*loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \ + ${ETAGS} -o $@ $$els ## Explicitly list the .elc files, for the sake of parallel builds. @@ -1253,10 +1248,7 @@ # unconditionally. Some files don't actually get compiled because they # set the local variable no-byte-compile. compile-always: doit - for el in $(COMPILE_FIRST); do \ - -rm $${el}c; \ - done - -rm $(ELCFILES) + cd $(lisp); rm -f *.elc */*.elc $(MAKE) $(MFLAGS) compile ## In case any files are missing from ELCFILES.