Do not install scripts multiple time when using bsd.progs.mk
This commit is contained in:
parent
4a62dc3a6e
commit
ae9b09c61b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281055
@ -96,14 +96,14 @@ x.$p= PROG_CXX=$p
|
||||
|
||||
$p ${p}_p: .PHONY .MAKE
|
||||
(cd ${.CURDIR} && ${MAKE} -f ${MAKEFILE} _RECURSING_PROGS= \
|
||||
SUBDIR= PROG=$p \
|
||||
SUBDIR= SCRIPTS= PROG=$p \
|
||||
DEPENDFILE=.depend.$p .MAKE.DEPENDFILE=.depend.$p \
|
||||
${x.$p})
|
||||
|
||||
.for t in ${PROGS_TARGETS:O:u}
|
||||
$p.$t: .PHONY .MAKE
|
||||
(cd ${.CURDIR} && ${MAKE} -f ${MAKEFILE} _RECURSING_PROGS= \
|
||||
SUBDIR= PROG=$p \
|
||||
SUBDIR= SCRIPTS= PROG=$p \
|
||||
DEPENDFILE=.depend.$p .MAKE.DEPENDFILE=.depend.$p \
|
||||
${x.$p} ${@:E})
|
||||
.endfor
|
||||
|
Loading…
Reference in New Issue
Block a user