Module Name: src
Committed By: apb
Date: Sat Sep 10 19:26:18 UTC 2011
Modified Files:
src/external/gpl3/binutils/usr.bin/ld: Makefile
Log Message:
Don't include .depend.* files during "make clean" or "make cleandir"
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/binutils/usr.bin/ld/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/binutils/usr.bin/ld/Makefile
diff -u src/external/gpl3/binutils/usr.bin/ld/Makefile:1.9 src/external/gpl3/binutils/usr.bin/ld/Makefile:1.10
--- src/external/gpl3/binutils/usr.bin/ld/Makefile:1.9 Tue Apr 5 10:48:47 2011
+++ src/external/gpl3/binutils/usr.bin/ld/Makefile Sat Sep 10 19:26:18 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2011/04/05 10:48:47 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2011/09/10 19:26:18 apb Exp $
.include <bsd.own.mk>
@@ -51,7 +51,7 @@
${PROG}.info: configdoc.texi bfdver.texi
.for f in ${G_EMULATION_OFILES:S/^e//:R}
-.if exists(.depend.${f})
+.if exists(.depend.${f}) && !(make(clean) || make(cleandir))
.include ".depend.${f}"
.endif