Use ${.ALLSRC:Ninstalldirs-*} instead of assuming order of .ALLSRC

This is a follow-up to https://reviews.freebsd.org/D22382

Suggested By:	sjg
This commit is contained in:
Alex Richardson 2019-12-10 12:12:48 +00:00
parent ca0ac0a6c1
commit 2719bb7ebb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=355582

View file

@ -116,7 +116,7 @@ installfiles-${group}: _${group}INS_${file}
_${group}INS_${file}: ${file} installdirs-${_${group}DIR_${file}}
${INSTALL} ${${group}TAG_ARGS} -o ${${group}OWN_${file}} \
-g ${${group}GRP_${file}} -m ${${group}MODE_${file}} \
${.ALLSRC:[1]} ${${group}PREFIX_${file}}/${${group}NAME_${file}}
${.ALLSRC:Ninstalldirs-*} ${${group}PREFIX_${file}}/${${group}NAME_${file}}
.endfor # file in ${${group}}
.endif # defined(${group}) && !empty(${group})