From 69944cdb60667597164150e30d14269501f832eb Mon Sep 17 00:00:00 2001 From: Peter Avalos Date: Sat, 25 Nov 2006 15:46:03 +0000 Subject: [PATCH] Add the directory created by the comma syntax to CLEANDIRS. Dragonfly-bug: Submitted-by: corecode --- share/mk/bsd.patch.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/share/mk/bsd.patch.mk b/share/mk/bsd.patch.mk index 33c4bd431a..e839e57283 100644 --- a/share/mk/bsd.patch.mk +++ b/share/mk/bsd.patch.mk @@ -1,4 +1,4 @@ -# $DragonFly: src/share/mk/bsd.patch.mk,v 1.3 2006/09/13 19:33:14 corecode Exp $ +# $DragonFly: src/share/mk/bsd.patch.mk,v 1.4 2006/11/25 15:46:03 pavalos Exp $ # # The include file handles patching of files and sources. # @@ -49,6 +49,7 @@ beforedepend: ${PC_} SRCS:= ${SRCS:N${_PSRC}} CLEANFILES:= ${CLEANFILES} ${_PC} +CLEANDIRS+= ${_PC:C|[^/]*$||} .endfor .endfor @@ -59,6 +60,7 @@ ${_PC}: _PATCHFILE ${CONTRIBDIR}/${_PC} ${_PSRC} SRCS:= ${SRCS:N${_PC}:S|${_PSRC}|${_PC}|} CLEANFILES:= ${CLEANFILES} ${_PC} +CLEANDIRS+= ${_PC:C|[^/]*$||} .endfor .endfor .endif -- 2.41.0