summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2014-05-19 19:08:46 +0000
committersjg <sjg@FreeBSD.org>2014-05-19 19:08:46 +0000
commitcf1c723179b194a7dfb18509657d93e809c881b4 (patch)
tree6ba886891432070e5f4f38008ec0a10477388196 /share
parent59c78787cbf6dd120cd5859e5bd061c42ad38d43 (diff)
downloadFreeBSD-src-cf1c723179b194a7dfb18509657d93e809c881b4.zip
FreeBSD-src-cf1c723179b194a7dfb18509657d93e809c881b4.tar.gz
_SUBDIR is marked .MAKE - since it runs a sub-make.
Targets thus marked are supposed to run even with -n. As such they should not do anything except run the sub-make. Use an intermediate target _* to associate with _SUBDIR and which depends on installincludes etc so that we get the correct behavior with -n. Reviewed by: marcel
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.subdir.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk
index 1500947..cc8e919 100644
--- a/share/mk/bsd.subdir.mk
+++ b/share/mk/bsd.subdir.mk
@@ -104,8 +104,9 @@ ${__target}: _SUBDIR
.for __target in files includes
.for __stage in build install
${__stage}${__target}:
+_${__stage}${__target}: ${__stage}${__target}
.if make(${__stage}${__target})
-${__stage}${__target}: _SUBDIR
+_${__stage}${__target}: _SUBDIR
.endif
.endfor
${__target}: .MAKE
OpenPOWER on IntegriCloud