Only build makewhatis(1)/apropos(1) with MAN_UTILS.

This is what src.conf(5) documents and is what the older non-mandoc
versions respected.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
bdrewery 2016-07-20 00:06:03 +00:00
parent 901e7d5532
commit 87b46509b4

View File

@ -8,7 +8,7 @@ MDOCMLDIR= ${.CURDIR}/../../contrib/mdocml
PROG= mandoc
MAN= mandoc.1 eqn.7 mandoc_char.7 tbl.7 man.7 mdoc.7 # roff.7
MLINKS= mandoc.1 mdocml.1
.if ${MK_MANDOCDB} != no
.if ${MK_MANDOCDB} != no && ${MK_MAN_UTILS} != no
MAN+= apropos.1 makewhatis.8
MLINKS+= apropos.1 whatis.1
LINKS= ${BINDIR}/mandoc ${BINDIR}/whatis \