summaryrefslogtreecommitdiff
path: root/share/doc
diff options
context:
space:
mode:
authorjmmv <jmmv@NetBSD.org>2007-11-12 15:04:02 +0000
committerjmmv <jmmv@NetBSD.org>2007-11-12 15:04:02 +0000
commitdc55116c56667c6421f31d456bdf2e3490b0aa3f (patch)
tree91eb42d68610dfc5d3de21087fb1e084bdc3acfb /share/doc
parentce8090f1b413e0a62bf1f5638a0d4170b8a1e23b (diff)
Add the ATF documentation
This change adds the ATF manual pages that are not tied to any specific tool nor library. It also adds some distribution documentation to the system, as this is linked to by the manual pages (plus we have to install the license text to comply with its terms).
Diffstat (limited to 'share/doc')
-rw-r--r--share/doc/Makefile6
-rw-r--r--share/doc/atf/Makefile22
2 files changed, 26 insertions, 2 deletions
diff --git a/share/doc/Makefile b/share/doc/Makefile
index 46503ec88df..ac50471c4e9 100644
--- a/share/doc/Makefile
+++ b/share/doc/Makefile
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.8 1998/01/09 06:54:25 perry Exp $
+# $NetBSD: Makefile,v 1.9 2007/11/12 15:04:02 jmmv Exp $
#
# @(#)Makefile 8.1 (Berkeley) 6/5/93
+SUBDIR= atf
+
.if make(install)
-SUBDIR= psd smm usd
+SUBDIR+= psd smm usd
.endif
.include <bsd.subdir.mk>
diff --git a/share/doc/atf/Makefile b/share/doc/atf/Makefile
new file mode 100644
index 00000000000..7f0ad4d8bb2
--- /dev/null
+++ b/share/doc/atf/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2007/11/12 15:04:03 jmmv Exp $
+
+.include <bsd.own.mk>
+
+SRCDIR= ${NETBSDSRCDIR}/dist/atf
+.PATH: ${SRCDIR} ${SRCDIR}/doc
+
+.if ${MKDOC} != "no"
+FILESDIR= /usr/share/doc/atf
+FILES= AUTHORS COPYING NEWS README ROADMAP
+.endif
+
+MAN= atf.7 atf-formats.5 atf-test-case.4 atf-test-program.1
+
+CLEANFILES+= atf.7 atf.7.tmp
+atf.7: atf.7.in
+ sed -e 's,__DOCDIR__,/usr/share/doc/atf,g' \
+ <${SRCDIR}/doc/atf.7.in >atf.7.tmp
+ mv atf.7.tmp atf.7
+
+.include <bsd.files.mk>
+.include <bsd.man.mk>