Don't descend into distrib/notes if MKMAN==no, because

groff (et al) isn't available in $TOOLDIR in that situation.
Fixes PR 30675.
(If we ever implement more specific "don't build groff" or "don't build C++"
build knobs, we can change this to use that.)
This commit is contained in:
lukem 2008-08-21 06:17:41 +00:00
parent 1417b3833c
commit 4eb7fcb80a
1 changed files with 3 additions and 1 deletions

View File

@ -1,8 +1,10 @@
# $NetBSD: Makefile,v 1.14 2007/03/06 21:56:47 bouyer Exp $
# $NetBSD: Makefile,v 1.15 2008/08/21 06:17:41 lukem Exp $
.include <bsd.own.mk>
.if ${MKMAN} != "no"
SUBDIR= notes .WAIT
.endif
.if exists(${MACHINE}/miniroot/Makefile.inc)
SUBDIR+= miniroot .WAIT