Module Name: src
Committed By: matt
Date: Thu Dec 5 22:49:33 UTC 2013
Modified Files:
src/share/mk: bsd.dep.mk
Log Message:
add ${MKTARGET_CREATE} for tags
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/share/mk/bsd.dep.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.dep.mk
diff -u src/share/mk/bsd.dep.mk:1.79 src/share/mk/bsd.dep.mk:1.80
--- src/share/mk/bsd.dep.mk:1.79 Thu Oct 31 01:55:03 2013
+++ src/share/mk/bsd.dep.mk Thu Dec 5 22:49:33 2013
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.dep.mk,v 1.79 2013/10/31 01:55:03 mrg Exp $
+# $NetBSD: bsd.dep.mk,v 1.80 2013/12/05 22:49:33 matt Exp $
##### Basic targets
realdepend: beforedepend .depend afterdepend
@@ -101,6 +101,7 @@ CLEANDIRFILES+= .depend ${__DPSRCS.d} ${
.if !target(tags)
tags: ${SRCS}
.if defined(SRCS) && !empty(SRCS)
+ ${_MKTARGET_CREATE}
-cd "${.CURDIR}"; ctags -f /dev/stdout ${.ALLSRC:N*.h} | \
${TOOL_SED} "s;\${.CURDIR}/;;" > tags
.endif