diff options
author | sjg <sjg@FreeBSD.org> | 2014-05-19 19:08:46 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2014-05-19 19:08:46 +0000 |
commit | cf1c723179b194a7dfb18509657d93e809c881b4 (patch) | |
tree | 6ba886891432070e5f4f38008ec0a10477388196 /share | |
parent | 59c78787cbf6dd120cd5859e5bd061c42ad38d43 (diff) | |
download | FreeBSD-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.mk | 3 |
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 |