cvs commit: src Makefile.inc1

David O'Brien obrien at FreeBSD.org
Tue Jul 1 11:43:53 PDT 2003


On Tue, Jul 01, 2003 at 12:47:57AM +0300, Ruslan Ermilov wrote:
> +.if exists(${.CURDIR}/rescue) && !defined(NO_RESCUE) && \
> +    ${BOOTSTRAPPING} < 501100
> +_crunchgen=	usr.sbin/crunch/crunchgen
> +.endif

Why do you need the "exists(${.CURDIR}/rescue)"?  If this code made it to
Makefile.inc1, src/rescue also made it to the checked out area.

> +.if exists(${.CURDIR}/rescue) && !defined(NO_RESCUE) || \
> +    defined(RELEASEDIR)
> +_crunchide=	usr.sbin/crunch/crunchide
> +.endif

Same.  Please simplify the logic.


More information about the cvs-src mailing list