Mercurial > emacs
diff lisp/Makefile.in @ 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 | 2b215e340de6 |
children | 107ccd98fa12 53108e6cea98 |
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