summaryrefslogtreecommitdiffstats
path: root/usr.sbin/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.sbin/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.sbin/Makefile')
-rw-r--r--usr.sbin/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/Makefile b/usr.sbin/Makefile
index c47ef76..045cb05 100644
--- a/usr.sbin/Makefile
+++ b/usr.sbin/Makefile
@@ -90,7 +90,7 @@ SUBDIR= ${_ac} \
mailwrapper \
makefs \
${_makemap} \
- manctl \
+ ${_manctl} \
memcontrol \
mergemaster \
mfiutil \
@@ -322,6 +322,10 @@ _nscd= nscd
_lpr= lpr
.endif
+.if ${MK_MAN_UTILS} != "no"
+_manctl= manctl
+.endif
+
.if ${MK_NETGRAPH} != "no"
_flowctl= flowctl
_lmcconfig= lmcconfig
OpenPOWER on IntegriCloud