Do not install pf related man pages if WITHOUT_PF is set.

PR:		bin/171767
Submitted by:	zeising
Approved by:	joel (mentor), glebius
This commit is contained in:
zeising 2012-09-19 09:34:21 +00:00
parent 1bcc5f9efe
commit b386b78092
2 changed files with 16 additions and 5 deletions

View File

@ -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>

View File

@ -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