diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/target.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mk/target.mk b/mk/target.mk index 1f200e05a5..6dead338ea 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) + |