aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-07-20 00:06:03 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-07-20 00:06:03 +0000
commit359c502af5a3ae43ef17628526a7ebe115eafc43 (patch)
treea6c6bce4ce48fddd3be7bc5fb069914427c32b91 /usr.bin/mandoc/Makefile
parente86e17af79cbb6dc93e0c9762c4351f310dffa4e (diff)
downloadsrc-359c502af5a3ae43ef17628526a7ebe115eafc43.tar.gz
src-359c502af5a3ae43ef17628526a7ebe115eafc43.zip
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
Notes
Notes: svn path=/head/; revision=303051
Diffstat (limited to 'usr.bin/mandoc/Makefile')
-rw-r--r--usr.bin/mandoc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mandoc/Makefile b/usr.bin/mandoc/Makefile
index 5fa7c99d8c55..6281b499d381 100644
--- a/usr.bin/mandoc/Makefile
+++ b/usr.bin/mandoc/Makefile
@@ -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 \