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:
parent
ea32110781
commit
f4ff569996
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351055
@ -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}}
|
||||
|
Loading…
Reference in New Issue
Block a user