1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-10 15:56:18 +00:00

Simplify some leim/Makefile.in clean rules.

* Makefile.in (maintainer-clean): Use bootstrap-clean.
(extraclean): Fix deletion patterns.
This commit is contained in:
Glenn Morris 2010-03-17 23:37:26 -07:00
parent c1d052860f
commit cbeed5af84
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2010-03-18 Glenn Morris <rgm@gnu.org> 2010-03-18 Glenn Morris <rgm@gnu.org>
* Makefile.in (maintainer-clean): Use bootstrap-clean.
(extraclean): Fix deletion patterns.
* Makefile.in (dot): Remove, since ../ is used throughout the * Makefile.in (dot): Remove, since ../ is used throughout the
other Makefiles. other Makefiles.

View File

@ -275,16 +275,17 @@ clean mostlyclean:
# bootstrapping should not leave non-fresh .elc files behind. # bootstrapping should not leave non-fresh .elc files behind.
bootstrap-clean: clean bootstrap-clean: clean
rm -f ${WORLD} rm -f ${WORLD}
## FIXME some compiled files go to srcdir, some don't?
# cd ${srcdir}; rm -f *.elc */*.elc
distclean: clean distclean: clean
if test -f stamp-subdir; then rm -rf ${SUBDIRS} stamp-subdir; fi if test -f stamp-subdir; then rm -rf ${SUBDIRS} stamp-subdir; fi
rm -f Makefile rm -f Makefile
maintainer-clean: distclean maintainer-clean: distclean bootstrap-clean
rm -f ${WORLD}
extraclean: maintainer-clean extraclean: maintainer-clean
-rm -f *~ \#* m/?*~ s/?*~ -rm -f *~ \#* */*~ */\#*
.PHONY: check-declare .PHONY: check-declare