Do not install scripts multiple time when using bsd.progs.mk
This commit is contained in:
parent
4a62dc3a6e
commit
ae9b09c61b
@ -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…
x
Reference in New Issue
Block a user