summaryrefslogtreecommitdiffstats
path: root/usr.bin/Makefile
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2010-05-19 23:56:26 +0000
committerjkim <jkim@FreeBSD.org>2010-05-19 23:56:26 +0000
commitaf364f655a42923777c35e464291c853aaeb196f (patch)
treef2b8d9c39ec13545accae0a0ea0f50a8a1a7dc03 /usr.bin/Makefile
parent0771bb84c54346d9e3a038665a8b9a5821717f32 (diff)
downloadFreeBSD-src-af364f655a42923777c35e464291c853aaeb196f.zip
FreeBSD-src-af364f655a42923777c35e464291c853aaeb196f.tar.gz
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
Diffstat (limited to 'usr.bin/Makefile')
-rw-r--r--usr.bin/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index a0e67e2..2956445 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -120,7 +120,7 @@ SUBDIR= alias \
m4 \
${_mail} \
${_make} \
- makewhatis \
+ ${_makewhatis} \
mesg \
minigzip \
ministat \
@@ -256,7 +256,7 @@ _at= at
_atm= atm
.endif
-.if ${MK_MAN} != "no"
+.if ${MK_MAN_UTILS} != "no"
_catman= catman
.endif
@@ -309,6 +309,10 @@ _msgs= msgs
_make= make
.endif
+.if ${MK_MAN_UTILS} != "no"
+_makewhatis= makewhatis
+.endif
+
.if ${MK_NETCAT} != "no"
_nc= nc
.endif
OpenPOWER on IntegriCloud