From 6f93da743490e6ffeab625b68324eb6f2d93c998 Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 3 Dec 2004 15:35:59 +0000 Subject: [PATCH] [project @ 2004-12-03 15:35:56 by simonmar] distclean: clean config.mk only *after* doing the recursive cleaning. Otherwise we don't clean properly in the subdirectories or sub-ways. --- mk/target.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/mk/target.mk b/mk/target.mk index 1f200e0..6dead33 100644 --- a/mk/target.mk +++ b/mk/target.mk @@ -1194,3 +1194,17 @@ ifneq "$(SUBDIRS)" "" $(SUBDIRS) :: $(MAKE) -C $@ $(MFLAGS) endif + +# ----------------------------------------------------------------------------- +# Further cleaning + +# Sometimes we want to clean things only after the recursve cleaning +# has heppened (eg. if the files we're about to remove would affect +# the recursive traversal). + +distclean:: + rm -f $(LATE_DIST_CLEAN_FILES) + +maintainer-clean:: + rm -f $(LATE_DIST_CLEAN_FILES) + -- 1.7.10.4