summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man1/Makefile8
-rw-r--r--share/man/man4/Makefile7
-rw-r--r--share/man/man5/Makefile7
-rw-r--r--share/man/man7/Makefile15
4 files changed, 37 insertions, 0 deletions
diff --git a/share/man/man1/Makefile b/share/man/man1/Makefile
index 43bf944..23bc1d8 100644
--- a/share/man/man1/Makefile
+++ b/share/man/man1/Makefile
@@ -1,8 +1,16 @@
# @(#)Makefile 8.1 (Berkeley) 6/5/93
# $FreeBSD$
+.include <bsd.own.mk>
+
MAN= builtin.1 intro.1
+.if ${MK_ATF} != "no"
+ATF= ${.CURDIR}/../../../contrib/atf
+.PATH: ${ATF}/doc
+MAN+= atf-test-program.1
+.endif
+
# Create MLINKS for Shell built in commands for which there are no userland
# utilities of the same name:
MLINKS= builtin.1 alias.1 \
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index 5ac8ff6..7e10d6a 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -60,6 +60,7 @@ MAN= aac.4 \
atkbd.4 \
atkbdc.4 \
${_atp.4} \
+ ${_atf_test_case.4} \
${_atrtc.4} \
${_attimer.4} \
audit.4 \
@@ -805,6 +806,12 @@ _nvram2env.4= nvram2env.4
SUBDIR= man4.${MACHINE_CPUARCH}
.endif
+.if ${MK_ATF} != "no"
+ATF= ${.CURDIR}/../../../contrib/atf
+.PATH: ${ATF}/doc
+_atf_test_case.4= atf-test-case.4
+.endif
+
.if ${MK_PF} != "no"
_pf.4= pf.4
_pflog.4= pflog.4
diff --git a/share/man/man5/Makefile b/share/man/man5/Makefile
index dac1066..5a337b8 100644
--- a/share/man/man5/Makefile
+++ b/share/man/man5/Makefile
@@ -6,6 +6,7 @@
#MISSING: dump.5 plot.5
MAN= acct.5 \
ar.5 \
+ ${_atf_formats.5} \
a.out.5 \
bluetooth.device.conf.5 \
bluetooth.hosts.5 \
@@ -80,6 +81,12 @@ MLINKS+=quota.user.5 quota.group.5
MLINKS+=rc.conf.5 rc.conf.local.5
MLINKS+=resolver.5 resolv.conf.5
+.if ${MK_ATF} != "no"
+ATF= ${.CURDIR}/../../../contrib/atf
+.PATH: ${ATF}/doc
+_atf_formats.5= atf-formats.5
+.endif
+
.if ${MK_HESIOD} != "no"
MAN+= hesiod.conf.5
.endif
diff --git a/share/man/man7/Makefile b/share/man/man7/Makefile
index 011fbaf..8417934 100644
--- a/share/man/man7/Makefile
+++ b/share/man/man7/Makefile
@@ -1,6 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 6/5/93
# $FreeBSD$
+.include <bsd.own.mk>
+
#MISSING: eqnchar.7 ms.7 term.7
MAN= adding_user.7 \
ascii.7 \
@@ -34,4 +36,17 @@ MLINKS+= c99.7 c78.7
MLINKS+= c99.7 c89.7
MLINKS+= c99.7 c90.7
+.if ${MK_ATF} != "no"
+ATF= ${.CURDIR}/../../../contrib/atf
+.PATH: ${ATF}/doc
+MAN+= atf.7
+
+CLEANFILES+= atf.7 atf.7.tmp
+atf.7: atf.7.in
+ sed -e 's,__DOCDIR__,${DOCDIR}/atf,g' \
+ -e 's,__TESTSDIR__,${TESTSBASE},g' \
+ < ${.ALLSRC} > ${.TARGET}.tmp
+ mv ${.TARGET}.tmp ${.TARGET}
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud