aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2015-05-23 15:05:02 -0700
committerGlenn Morris2015-05-23 15:05:02 -0700
commit126b0d9865bd96953597cb2782e42e18136f2460 (patch)
tree8f67eb377d9199309adeb4016266ad62d7acec4f
parent85d94d6587846ac7715e19081c9bd4374a27174c (diff)
downloademacs-126b0d9865bd96953597cb2782e42e18136f2460.tar.gz
emacs-126b0d9865bd96953597cb2782e42e18136f2460.zip
* Makefile.in: Fix extraclean rule.
(extraclean_dirs): New. (extraclean): Use it.
-rw-r--r--Makefile.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 9790dbd7b10..a2258f2c56e 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -909,11 +909,12 @@ maintainer-clean: bootstrap-clean $(maintainer_clean_dirs:=_maintainer-clean)
909### it deletes backup and autosave files too. 909### it deletes backup and autosave files too.
910### Note that we abuse this in some subdirectories (eg leim), 910### Note that we abuse this in some subdirectories (eg leim),
911### to delete some generated files that are slow to rebuild. 911### to delete some generated files that are slow to rebuild.
912$(foreach dir,$(SUBDIR),$(eval $(call submake_template,$(dir),extraclean))) 912extraclean_dirs = ${NTDIR} lib-src src leim \
913 admin/charsets admin/grammars admin/unidata
913 914
914## FIXME this is busted because most of these do not have extraclean rules. 915$(foreach dir,$(extraclean_dirs),$(eval $(call submake_template,$(dir),extraclean)))
915## Also it is missing things that do have such rules. 916
916extraclean: $(SUBDIR:=_extraclean) 917extraclean: $(extraclean_dirs:=_extraclean)
917 ${top_maintainer_clean} 918 ${top_maintainer_clean}
918 -rm -f config-tmp-* 919 -rm -f config-tmp-*
919 -rm -f *~ \#* 920 -rm -f *~ \#*