Mercurial > emacs
changeset 86563:d404da216302
(maintainer-clean): Depend on bootstrap-clean to delete .elc files.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Wed, 28 Nov 2007 04:52:24 +0000 |
parents | 5253774a34e8 |
children | f33f3cb72cfc |
files | lisp/Makefile.in |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/Makefile.in Wed Nov 28 04:48:04 2007 +0000 +++ b/lisp/Makefile.in Wed Nov 28 04:52:24 2007 +0000 @@ -295,9 +295,12 @@ $(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