svn commit: r240689 - in head/share/man: man4 man5
Niclas Zeising
zeising at FreeBSD.org
Wed Sep 19 09:34:21 UTC 2012
Author: zeising (doc,ports committer)
Date: Wed Sep 19 09:34:21 2012
New Revision: 240689
URL: http://svn.freebsd.org/changeset/base/240689
Log:
Do not install pf related man pages if WITHOUT_PF is set.
PR: bin/171767
Submitted by: zeising
Approved by: joel (mentor), glebius
Modified:
head/share/man/man4/Makefile
head/share/man/man5/Makefile
Modified: head/share/man/man4/Makefile
==============================================================================
--- head/share/man/man4/Makefile Wed Sep 19 06:20:25 2012 (r240688)
+++ head/share/man/man4/Makefile Wed Sep 19 09:34:21 2012 (r240689)
@@ -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>
Modified: head/share/man/man5/Makefile
==============================================================================
--- head/share/man/man5/Makefile Wed Sep 19 06:20:25 2012 (r240688)
+++ head/share/man/man5/Makefile Wed Sep 19 09:34:21 2012 (r240689)
@@ -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
More information about the svn-src-all
mailing list