summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2010-05-25 20:16:36 +0000
committerjkim <jkim@FreeBSD.org>2010-05-25 20:16:36 +0000
commitaec939697631599c4eed310c30d19b6c8de568e3 (patch)
tree48cf4ac268ace3ace66e92dd7f597d425ed2937c /usr.bin
parent7304692e617d7bac26ec574745838213980a320e (diff)
downloadFreeBSD-src-aec939697631599c4eed310c30d19b6c8de568e3.zip
FreeBSD-src-aec939697631599c4eed310c30d19b6c8de568e3.tar.gz
MFC: r208320
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. Note this patch implicitly fixes a documentation bug of src.conf(5), which says WITHOUT_MAN may be used to not build manual pages while it was also disabling some utilities for manual pages. Approved by: re (kib)
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index f143a48..7068f74 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -118,7 +118,7 @@ SUBDIR= alias \
m4 \
${_mail} \
${_make} \
- makewhatis \
+ ${_makewhatis} \
mesg \
minigzip \
ministat \
@@ -251,7 +251,7 @@ _at= at
_atm= atm
.endif
-.if ${MK_MAN} != "no"
+.if ${MK_MAN_UTILS} != "no"
_catman= catman
.endif
@@ -303,6 +303,10 @@ _msgs= msgs
_make= make
.endif
+.if ${MK_MAN_UTILS} != "no"
+_makewhatis= makewhatis
+.endif
+
.if ${MK_NETCAT} != "no"
_nc= nc
.endif
OpenPOWER on IntegriCloud