From b964b9437615871634ac4eeeb1a4e603ac37bde6 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Mon, 18 Apr 2016 18:12:12 +0000 Subject: [PATCH] META_MODE: Clean .meta files with 'make cleandepend'. Sponsored by: EMC / Isilon Storage Division --- share/mk/bsd.dep.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk index d80cb9de117a..46e4a148eb34 100644 --- a/share/mk/bsd.dep.mk +++ b/share/mk/bsd.dep.mk @@ -54,6 +54,9 @@ HTAGSFLAGS?= .MAKE.DEPENDFILE= ${DEPENDFILE} .endif CLEANDEPENDFILES+= ${DEPENDFILE} ${DEPENDFILE}.* +.if ${MK_META_MODE} == "yes" +CLEANDEPENDFILES+= *.meta +.endif # Keep `tags' here, before SRCS are mangled below for `depend'. .if !target(tags) && defined(SRCS) && !defined(NO_TAGS)