Deleted Added
full compact
28c28
< # $FreeBSD: head/share/mk/bsd.crunchgen.mk 289737 2015-10-22 04:52:37Z bdrewery $
---
> # $FreeBSD: head/share/mk/bsd.crunchgen.mk 289846 2015-10-23 19:41:58Z bdrewery $
52a53,59
> # Set a default SRCDIR for each for simpler handling below.
> .for D in ${CRUNCH_SRCDIRS}
> .for P in ${CRUNCH_PROGS_${D}}
> CRUNCH_SRCDIR_${P}?= ${.CURDIR}/../../${D}/${P}
> .endfor
> .endfor
>
57d63
< .ifdef CRUNCH_SRCDIR_${P}
59,61d64
< .else
< ${OUTPUTS}: ${.CURDIR}/../../${D}/${P}/Makefile
< .endif
92d94
< .ifdef CRUNCH_SRCDIR_${P}
94,96d95
< .else
< echo special ${P} srcdir ${.CURDIR}/../../${D}/${P} >>${.TARGET}
< .endif
141,145d139
< .ifdef CRUNCH_SRCDIR_${P}
< __dir= ${CRUNCH_SRCDIR_${P}}
< .else
< __dir= ${.CURDIR}/../../${D}/${P}
< .endif
147c141
< ${_+_}cd ${__dir} && \
---
> ${_+_}cd ${CRUNCH_SRCDIR_${P}} && \