]> git.eshelyaron.com Git - emacs.git/commitdiff
(maintainer-clean): Depend on bootstrap-clean to delete .elc files.
authorGlenn Morris <rgm@gnu.org>
Wed, 28 Nov 2007 04:52:59 +0000 (04:52 +0000)
committerGlenn Morris <rgm@gnu.org>
Wed, 28 Nov 2007 04:52:59 +0000 (04:52 +0000)
lisp/ChangeLog
lisp/Makefile.in

index 4702a23453bb36617345c59adcdb1ddd463253a9..1b2fe96429bfc0ea32c48b77f6efdc354f4f920f 100644 (file)
@@ -4,6 +4,9 @@
 
 2007-11-28  Glenn Morris  <rgm@gnu.org>
 
+       * Makefile.in (maintainer-clean): Depend on bootstrap-clean to
+       delete .elc files.
+
        * nxml/nxml-enc.el (xmltok-get-declared-encoding-position):
        Declare as a function.
 
index ce3361a5678543321d5c54636a8bc4f9390292ed..c81db54c72cede44c252e4939fdfec66476ea09e 100644 (file)
@@ -295,9 +295,12 @@ bootstrap-prepare:
          $(lisp)/ps-print.el                   \
          $(lisp)/emacs-lisp/cl-loaddefs.el
 
-maintainer-clean: distclean
-       cd $(lisp); rm -f *.elc */*.elc $(AUTOGENEL)
+maintainer-clean: distclean bootstrap-clean
+       cd $(lisp); rm -f $(AUTOGENEL)
 
+## NB note that this rules assume only one level of subdirs below lisp/.
+## If nested subdirs are added, it's probably time to switch to:
+## find $(lisp) -name "*.elc" -exec rm -f '{}' ';'
 bootstrap-clean:
        cd $(lisp); rm -f *.elc */*.elc