aboutsummaryrefslogtreecommitdiff
path: root/share/man/Makefile
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2010-05-19 23:56:26 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2010-05-19 23:56:26 +0000
commit07e547fe269ed033815731e88297af5409ebad28 (patch)
treef2b8d9c39ec13545accae0a0ea0f50a8a1a7dc03 /share/man/Makefile
parent56b6785885762d95982f62ba0189b67005e13cb4 (diff)
downloadsrc-07e547fe269ed033815731e88297af5409ebad28.tar.gz
src-07e547fe269ed033815731e88297af5409ebad28.zip
Add a new build option, MAN_UTILS. This option lets you control building
utilities and related support files for manual pages, which were previously controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS. This patch is slightly improved by me from: PR: misc/145212
Notes
Notes: svn path=/head/; revision=208320
Diffstat (limited to 'share/man/Makefile')
-rw-r--r--share/man/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/man/Makefile b/share/man/Makefile
index f1929dccac15..524235c2e9f0 100644
--- a/share/man/Makefile
+++ b/share/man/Makefile
@@ -9,10 +9,12 @@ SUBDIR= man1 man3 man4 man5 man6 man7 man8 man9
MAKEWHATIS?= makewhatis
makedb:
+.if ${MK_MAN_UTILS} != "no"
${MAKEWHATIS} ${DESTDIR}${BINDIR}/man
.if ${MK_OPENSSL} != "no"
${MAKEWHATIS} ${DESTDIR}${BINDIR}/openssl/man
.endif
+.endif
.include "${.CURDIR}/../Makefile.inc"
.include <bsd.subdir.mk>