diff options
author | Glenn Morris <rgm@gnu.org> | 2015-05-23 15:05:02 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2015-05-23 15:05:02 -0700 |
commit | 126b0d9865bd96953597cb2782e42e18136f2460 (patch) | |
tree | 8f67eb377d9199309adeb4016266ad62d7acec4f /Makefile.in | |
parent | 85d94d6587846ac7715e19081c9bd4374a27174c (diff) |
* Makefile.in: Fix extraclean rule.
(extraclean_dirs): New.
(extraclean): Use it.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index 9790dbd7b1..a2258f2c56 100644 --- a/Makefile.in +++ b/Makefile.in @@ -909,11 +909,12 @@ maintainer-clean: bootstrap-clean $(maintainer_clean_dirs:=_maintainer-clean) ### it deletes backup and autosave files too. ### Note that we abuse this in some subdirectories (eg leim), ### to delete some generated files that are slow to rebuild. -$(foreach dir,$(SUBDIR),$(eval $(call submake_template,$(dir),extraclean))) +extraclean_dirs = ${NTDIR} lib-src src leim \ + admin/charsets admin/grammars admin/unidata -## FIXME this is busted because most of these do not have extraclean rules. -## Also it is missing things that do have such rules. -extraclean: $(SUBDIR:=_extraclean) +$(foreach dir,$(extraclean_dirs),$(eval $(call submake_template,$(dir),extraclean))) + +extraclean: $(extraclean_dirs:=_extraclean) ${top_maintainer_clean} -rm -f config-tmp-* -rm -f *~ \#* |