1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

* Makefile.in: Simplify maintainer-clean.

(maintainer_clean_dirs): Remove.
(maintainer-clean): Don't duplicate clean by running bootstrap-clean,
which can lead to issues with parallel clean.
This commit is contained in:
Glenn Morris 2021-05-10 13:30:00 -07:00
parent dd031f311f
commit 9117b42e68

View File

@ -917,12 +917,9 @@ top_maintainer_clean=\
${top_distclean}; \
rm -fr ${srcdir}/autom4te.cache
maintainer_clean_dirs = src leim lisp admin/charsets admin/grammars \
admin/unidata test
$(foreach dir,$(distclean_dirs),$(eval $(call submake_template,$(dir),maintainer-clean)))
$(foreach dir,$(maintainer_clean_dirs),$(eval $(call submake_template,$(dir),maintainer-clean)))
maintainer-clean: bootstrap-clean $(maintainer_clean_dirs:=_maintainer-clean)
maintainer-clean: $(distclean_dirs:=_maintainer-clean)
rm -rf ${srcdir}/info
rm -f ${srcdir}/etc/refcards/emacsver.tex
${top_maintainer_clean}