defined(${group}NAME) is also a trigger for special handling

This commit is contained in:
Simon J. Gerraty 2012-11-08 21:40:05 +00:00
parent 72f888f181
commit 6427a5d492
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/bmake/; revision=242801

View File

@ -31,7 +31,7 @@ _${group}INCS=
.for header in ${${group}}
.if defined(${group}OWN_${header:T}) || defined(${group}GRP_${header:T}) || \
defined(${group}MODE_${header:T}) || defined(${group}DIR_${header:T}) || \
defined(${group}NAME_${header:T})
defined(${group}NAME_${header:T}) || defined(${group}NAME)
${group}OWN_${header:T}?= ${${group}OWN}
${group}GRP_${header:T}?= ${${group}GRP}
${group}MODE_${header:T}?= ${${group}MODE}
@ -89,13 +89,17 @@ installincludes:
realinstall: installincludes
.ORDER: beforeinstall installincludes
.if ${MK_STAGING} != "no"
.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
.if !empty(INCSLINKS)
stage_files: stage_symlinks
STAGE_SYMLINKS.INCS= ${INCSLINKS:S,${INCSDIR}/,,}
.endif
.endif
.endif
.endif