summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorzeising <zeising@FreeBSD.org>2012-09-19 09:34:21 +0000
committerzeising <zeising@FreeBSD.org>2012-09-19 09:34:21 +0000
commitb386b7809285010c68e6c50d212a4592fcb0042a (patch)
treec1cea7552726c631cb64bb35e41952cbaeae5730 /share/man
parent1bcc5f9efee181c1e3591d0a6ebad354372dfd9a (diff)
downloadFreeBSD-src-b386b7809285010c68e6c50d212a4592fcb0042a.zip
FreeBSD-src-b386b7809285010c68e6c50d212a4592fcb0042a.tar.gz
Do not install pf related man pages if WITHOUT_PF is set.
PR: bin/171767 Submitted by: zeising Approved by: joel (mentor), glebius
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/Makefile14
-rw-r--r--share/man/man5/Makefile7
2 files changed, 16 insertions, 5 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 7f01768..325c471 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -1,6 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 6/18/93
# $FreeBSD$
+.include <bsd.own.mk>
+
MAN= aac.4 \
acpi.4 \
${_acpi_asus.4} \
@@ -354,9 +356,9 @@ MAN= aac.4 \
pcii.4 \
pcm.4 \
pcn.4 \
- pf.4 \
- pflog.4 \
- pfsync.4 \
+ ${_pf.4} \
+ ${_pflog.4} \
+ ${_pfsync.4} \
pim.4 \
polling.4 \
ppbus.4 \
@@ -798,4 +800,10 @@ _nvram2env.4= nvram2env.4
SUBDIR= man4.${MACHINE_CPUARCH}
.endif
+.if ${MK_PF} != "no"
+_pf.4= pf.4
+_pflog.4= pflog.4
+_pfsync.4= pfsync.4
+.endif
+
.include <bsd.prog.mk>
diff --git a/share/man/man5/Makefile b/share/man/man5/Makefile
index 2c56fc8..090fe0a 100644
--- a/share/man/man5/Makefile
+++ b/share/man/man5/Makefile
@@ -50,8 +50,6 @@ MAN= acct.5 \
passwd.5 \
pbm.5 \
periodic.conf.5 \
- pf.conf.5 \
- pf.os.5 \
phones.5 \
portindex.5 \
portsnap.conf.5 \
@@ -91,6 +89,11 @@ MAN+= hesiod.conf.5
MAN+= nandfs.5
.endif
+.if ${MK_PF} != "no"
+MAN+= pf.conf.5 \
+ pf.os.5
+.endif
+
.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
_boot.config.5= boot.config.5
.endif
OpenPOWER on IntegriCloud