bsd.files.mk: fix targets to avoid directories

Reintroduce :T when file is used as part of a target name.

Reviewed by:	stevek
This commit is contained in:
sjg 2019-08-14 22:33:46 +00:00
parent c423c7a497
commit cbeb6e55c6

View File

@ -101,11 +101,11 @@ STAGE_AS_SETS+= ${file}
STAGE_AS_${file}= ${${group}NAME_${file}}
# XXX {group}OWN,GRP,MODE
STAGE_DIR.${file}= ${STAGE_OBJTOP}${${_${group}DIR_${file}}}
stage_as.${file}: ${file}
stage_as.${file:T}: ${file}
installfiles-${group}: _${group}INS1_${file}
_${group}INS1_${file}: installdirs-${_${group}DIR_${file}} _${group}INS_${file}
_${group}INS_${file}: ${file}
_${group}INS1_${file:T}: installdirs-${_${group}DIR_${file}} _${group}INS_${file}
_${group}INS_${file:T}: ${file}
${INSTALL} ${${group}TAG_ARGS} -o ${${group}OWN_${file}} \
-g ${${group}GRP_${file}} -m ${${group}MODE_${file}} \
${.ALLSRC} ${${group}PREFIX_${file}}/${${group}NAME_${file}}