Module Name:    src
Committed By:   plunky
Date:           Sat Mar 12 13:22:03 UTC 2011

Modified Files:
        src/share/mk: bsd.x11.mk

Log Message:
CLEANFILES is not processed by <bsd.files.mk> so don't assume that
anything assigned there will be cleaned up; handle clean up of the
PKGCONFIG files explicitly. (eg lib/dri/dri.pc was not cleaned)


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/share/mk/bsd.x11.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.x11.mk
diff -u src/share/mk/bsd.x11.mk:1.93 src/share/mk/bsd.x11.mk:1.94
--- src/share/mk/bsd.x11.mk:1.93	Wed Dec  8 01:57:22 2010
+++ src/share/mk/bsd.x11.mk	Sat Mar 12 13:22:03 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.x11.mk,v 1.93 2010/12/08 01:57:22 joerg Exp $
+#	$NetBSD: bsd.x11.mk,v 1.94 2011/03/12 13:22:03 plunky Exp $
 
 .include <bsd.init.mk>
 
@@ -339,7 +339,9 @@
 		< ${.IMPSRC} > ${.TARGET}.tmp && \
 	mv -f ${.TARGET}.tmp ${.TARGET}
 
-CLEANFILES+=	${_PKGCONFIG_FILES} ${_PKGCONFIG_FILES:C/$/.tmp/}
+cleandir:	cleanpkgconfig
+cleanpkgconfig: .PHONY
+	rm -f ${_PKGCONFIG_FILES} ${_PKGCONFIG_FILES:C/$/.tmp/}
 .endif
 
 #

Reply via email to