diff options
author | sjg <sjg@FreeBSD.org> | 2014-05-16 14:47:18 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2014-05-16 14:47:18 +0000 |
commit | aa628f3a574c7031d555f02aa06bb201e548cee4 (patch) | |
tree | 64701f4885b827c79d8be01c81668923f260768d /share/mk/bsd.incs.mk | |
parent | 08e72f721803035f066c5914d842ed298fb79d4d (diff) | |
download | FreeBSD-src-aa628f3a574c7031d555f02aa06bb201e548cee4.zip FreeBSD-src-aa628f3a574c7031d555f02aa06bb201e548cee4.tar.gz |
We want to use stage_includes as a hook, so use NO_STAGE_INCLUDES
in include/Makefile to suppress normal behavior
Diffstat (limited to 'share/mk/bsd.incs.mk')
-rw-r--r-- | share/mk/bsd.incs.mk | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/share/mk/bsd.incs.mk b/share/mk/bsd.incs.mk index ee4305a..08ef376 100644 --- a/share/mk/bsd.incs.mk +++ b/share/mk/bsd.incs.mk @@ -45,6 +45,7 @@ ${group}NAME_${header:T}?= ${header:T} STAGE_AS_SETS+= ${group} STAGE_AS_${header:T}= ${${group}NAME_${header:T}} stage_as.${group}: ${header} +stage_includes: stage_as.${group} installincludes: _${group}INS_${header:T} _${group}INS_${header:T}: ${header} @@ -58,6 +59,7 @@ _${group}INCS+= ${header} .endfor .if !empty(_${group}INCS) stage_files.${group}: ${_${group}INCS} +stage_includes: stage_files.${group} installincludes: _${group}INS _${group}INS: ${_${group}INCS} @@ -91,13 +93,8 @@ realinstall: installincludes .ORDER: beforeinstall installincludes .if ${MK_STAGING} != "no" && !defined(_SKIP_BUILD) -.if !target(stage_includes) -.if !empty(STAGE_SETS) -buildincludes: stage_files -.if !empty(STAGE_AS_SETS) -buildincludes: stage_as -.endif -.endif +.if !defined(NO_STAGE_INCLUDES) +staging: stage_includes .if !empty(INCSLINKS) staging: stage_symlinks STAGE_SYMLINKS.INCS= ${INCSLINKS} |