Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk CLEANFILES is not processed by <bsd.files.mk> so do...
details: https://anonhg.NetBSD.org/src/rev/8254f93495ba
branches: trunk
changeset: 763187:8254f93495ba
user: plunky <plunky%NetBSD.org@localhost>
date: Sat Mar 12 13:22:03 2011 +0000
description:
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)
diffstat:
share/mk/bsd.x11.mk | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 656037596d4d -r 8254f93495ba share/mk/bsd.x11.mk
--- a/share/mk/bsd.x11.mk Sat Mar 12 12:30:39 2011 +0000
+++ b/share/mk/bsd.x11.mk Sat Mar 12 13:22:03 2011 +0000
@@ -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
#
Home |
Main Index |
Thread Index |
Old Index