summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-05-13 09:31:40 +0000
committerngie <ngie@FreeBSD.org>2016-05-13 09:31:40 +0000
commit789a1c974139c32fcf0aed3b5523d1f83cd09038 (patch)
tree459270c03a7a368de91b4a0e57fe4379f33e9d12 /share
parent61fa67815239b41ce9a68bdabf3db126a537cf7c (diff)
downloadFreeBSD-src-789a1c974139c32fcf0aed3b5523d1f83cd09038.zip
FreeBSD-src-789a1c974139c32fcf0aed3b5523d1f83cd09038.tar.gz
MFC r299162,r299163:
r299162: Only install NIS section 8 manpages if MK_NIS != no r299163: Fix r299162 share/man/man8/Makefile: - Add src.opts.mk so MK_NIS can be tested - Fix typo in MK_NIS conditional tools/build/mk/OptionalObsoleteFiles.inc: - Remove WIP diff from ^/user/ngie/detangle-rc
Diffstat (limited to 'share')
-rw-r--r--share/man/man8/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/share/man/man8/Makefile b/share/man/man8/Makefile
index 2b803b6..3aed6f8 100644
--- a/share/man/man8/Makefile
+++ b/share/man/man8/Makefile
@@ -1,6 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 6/5/93
# $FreeBSD$
+.include <bsd.own.mk>
+
MAN= crash.8 \
diskless.8 \
intro.8 \
@@ -11,7 +13,6 @@ MAN= crash.8 \
rc.subr.8 \
rescue.8 \
${_uefi.8} \
- yp.8
MLINKS= rc.8 rc.atm.8 \
rc.8 rc.d.8 \
@@ -21,9 +22,14 @@ MLINKS= rc.8 rc.atm.8 \
rc.8 rc.pccard.8 \
rc.8 rc.serial.8 \
rc.8 rc.shutdown.8
+
+.if ${MK_NIS} != "no"
+MAN+= yp.8
+
MLINKS+=yp.8 NIS.8 \
yp.8 nis.8 \
yp.8 YP.8
+.endif
.if ${MACHINE_CPUARCH} == "amd64"
_uefi.8= uefi.8
OpenPOWER on IntegriCloud