From dc55116c56667c6421f31d456bdf2e3490b0aa3f Mon Sep 17 00:00:00 2001 From: jmmv Date: Mon, 12 Nov 2007 15:04:02 +0000 Subject: [PATCH] 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). --- distrib/sets/lists/man/mi | 10 +++++++++- distrib/sets/lists/misc/mi | 8 +++++++- etc/mtree/NetBSD.dist | 3 ++- share/doc/Makefile | 6 ++++-- share/doc/atf/Makefile | 22 ++++++++++++++++++++++ 5 files changed, 44 insertions(+), 5 deletions(-) create mode 100644 share/doc/atf/Makefile diff --git a/distrib/sets/lists/man/mi b/distrib/sets/lists/man/mi index d8d8026c3e07..a538d57311ca 100644 --- a/distrib/sets/lists/man/mi +++ b/distrib/sets/lists/man/mi @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1035 2007/11/12 15:00:03 jmmv Exp $ +# $NetBSD: mi,v 1.1036 2007/11/12 15:04:02 jmmv Exp $ ./etc/mtree/set.man man-sys-root ./usr/share/info/am-utils.info man-amd-info info ./usr/share/info/as.info man-computil-info bfd,info @@ -52,6 +52,7 @@ ./usr/share/man/cat1/atf-format.0 man-atf-catman .cat ./usr/share/man/cat1/atf-report.0 man-atf-catman .cat ./usr/share/man/cat1/atf-run.0 man-atf-catman .cat +./usr/share/man/cat1/atf-test-program.0 man-atf-catman .cat ./usr/share/man/cat1/atf-version.0 man-atf-catman .cat ./usr/share/man/cat1/atq.0 man-cron-catman .cat ./usr/share/man/cat1/atrm.0 man-cron-catman .cat @@ -713,6 +714,7 @@ ./usr/share/man/cat4/atari/ms.0 man-sys-catman .cat ./usr/share/man/cat4/atari/rtc.0 man-sys-catman .cat ./usr/share/man/cat4/ate.0 man-sys-catman .cat +./usr/share/man/cat4/atf-test-case.0 man-atf-catman .cat ./usr/share/man/cat4/ath.0 man-sys-catman .cat ./usr/share/man/cat4/atppc.0 man-sys-catman .cat ./usr/share/man/cat4/attimer.0 man-sys-catman .cat @@ -1608,6 +1610,7 @@ ./usr/share/man/cat5/altq.conf.0 man-router-catman .cat ./usr/share/man/cat5/amd.conf.0 man-amd-catman .cat ./usr/share/man/cat5/ar.0 man-sys-catman .cat +./usr/share/man/cat5/atf-formats.0 man-atf-catman .cat ./usr/share/man/cat5/audit-packages.conf.0 man-pkgutil-catman .cat ./usr/share/man/cat5/bluetooth.conf.0 man-obsolete obsolete ./usr/share/man/cat5/body_checks.0 man-postfix-catman postfix,.cat @@ -1774,6 +1777,7 @@ ./usr/share/man/cat5/wtmpx.0 man-sys-catman .cat ./usr/share/man/cat5/ypserv.acl.0 man-obsolete obsolete ./usr/share/man/cat7/ascii.0 man-reference-catman .cat +./usr/share/man/cat7/atf.0 man-atf-catman .cat ./usr/share/man/cat7/des_modes.0 man-reference-catman crypto,.cat ./usr/share/man/cat7/environ.0 man-reference-catman .cat ./usr/share/man/cat7/hier.0 man-reference-catman .cat @@ -2558,6 +2562,7 @@ ./usr/share/man/man1/atf-format.1 man-atf-man .man ./usr/share/man/man1/atf-report.1 man-atf-man .man ./usr/share/man/man1/atf-run.1 man-atf-man .man +./usr/share/man/man1/atf-test-program.1 man-atf-man .man ./usr/share/man/man1/atf-version.1 man-atf-man .man ./usr/share/man/man1/atq.1 man-cron-man .man ./usr/share/man/man1/atrm.1 man-cron-man .man @@ -3219,6 +3224,7 @@ ./usr/share/man/man4/atari/ms.4 man-sys-man .man ./usr/share/man/man4/atari/rtc.4 man-sys-man .man ./usr/share/man/man4/ate.4 man-sys-man .man +./usr/share/man/man4/atf-test-case.4 man-cat-man .man ./usr/share/man/man4/ath.4 man-sys-man .man ./usr/share/man/man4/atppc.4 man-sys-man .man ./usr/share/man/man4/attimer.4 man-sys-man .man @@ -4114,6 +4120,7 @@ ./usr/share/man/man5/altq.conf.5 man-router-man .man ./usr/share/man/man5/amd.conf.5 man-amd-man .man ./usr/share/man/man5/ar.5 man-sys-man .man +./usr/share/man/man5/atf-formats.5 man-atf-man .man ./usr/share/man/man5/audit-packages.conf.5 man-pkgutil-man .man ./usr/share/man/man5/bluetooth.conf.5 man-obsolete obsolete ./usr/share/man/man5/body_checks.5 man-postfix-man postfix,.man @@ -4280,6 +4287,7 @@ ./usr/share/man/man5/wtmpx.5 man-sys-man .man ./usr/share/man/man5/ypserv.acl.5 man-obsolete obsolete ./usr/share/man/man7/ascii.7 man-reference-man .man +./usr/share/man/man7/atf.7 man-atf-man .man ./usr/share/man/man7/des_modes.7 man-reference-man crypto,.man ./usr/share/man/man7/environ.7 man-reference-man .man ./usr/share/man/man7/hier.7 man-reference-man .man diff --git a/distrib/sets/lists/misc/mi b/distrib/sets/lists/misc/mi index a6ed3d409b59..5a8bdc0e5e37 100644 --- a/distrib/sets/lists/misc/mi +++ b/distrib/sets/lists/misc/mi @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.147 2007/11/12 15:01:52 jmmv Exp $ +# $NetBSD: mi,v 1.148 2007/11/12 15:04:02 jmmv Exp $ ./etc/mtree/set.misc misc-sys-root ./usr/share/dict/README misc-reference-share share ./usr/share/dict/american misc-reference-share share @@ -11,6 +11,12 @@ ./usr/share/dict/web2 misc-reference-share share ./usr/share/dict/web2a misc-reference-share share ./usr/share/dict/words misc-reference-share share +./usr/share/doc/atf misc-atf-doc doc +./usr/share/doc/atf/AUTHORS misc-atf-doc doc +./usr/share/doc/atf/COPYING misc-atf-doc doc +./usr/share/doc/atf/NEWS misc-atf-doc doc +./usr/share/doc/atf/README misc-atf-doc doc +./usr/share/doc/atf/ROADMAP misc-atf-doc doc ./usr/share/doc/html/bind9/arm/Bv9ARM.ch01.html misc-bind-htmldoc doc ./usr/share/doc/html/bind9/arm/Bv9ARM.ch02.html misc-bind-htmldoc doc ./usr/share/doc/html/bind9/arm/Bv9ARM.ch03.html misc-bind-htmldoc doc diff --git a/etc/mtree/NetBSD.dist b/etc/mtree/NetBSD.dist index 613c08428008..900d773b3354 100644 --- a/etc/mtree/NetBSD.dist +++ b/etc/mtree/NetBSD.dist @@ -1,4 +1,4 @@ -# $NetBSD: NetBSD.dist,v 1.346 2007/11/12 15:02:58 jmmv Exp $ +# $NetBSD: NetBSD.dist,v 1.347 2007/11/12 15:04:03 jmmv Exp $ # @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93 # Do not customize this file as it may be overwritten on upgrades. @@ -347,6 +347,7 @@ ./usr/share/dict/papers ./usr/share/dict/special ./usr/share/doc +./usr/share/doc/atf ./usr/share/doc/groff ./usr/share/doc/groff/mom ./usr/share/doc/html diff --git a/share/doc/Makefile b/share/doc/Makefile index 46503ec88dfa..ac50471c4e97 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 diff --git a/share/doc/atf/Makefile b/share/doc/atf/Makefile new file mode 100644 index 000000000000..7f0ad4d8bb21 --- /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 + +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 +.include