summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2014-07-05 19:22:41 +0000
committerdholland <dholland@NetBSD.org>2014-07-05 19:22:41 +0000
commit5f84469e7be20b00d0005e5cc0a912e1487e4201 (patch)
tree95776df3431f7b42836de9383f8c5f0e7b3771b9 /gnu
parentc97e51e642b63af94b38252f77d3551bdcc0b5d3 (diff)
Reorg docs, part 1:
Move all the reference manuals to subdirs of /usr/share/doc/reference. We have subdirs ref1-ref9, corresponding to man page sections 1-9. Everything that's the reference manual for a program (sections 1, 6, 8), C interface (sections 2, 3), driver or file system (section 4), format or configuration (section 5), or kernel internal interface (section 9) belongs in here. Section 7 is a little less clear: some things that might go in section 7 if they were a man page aren't really reference manuals. So I'm only putting things in reference section 7 that are (to me) clearly reference material, rather than e.g. tutorials, guides, FAQs, etc. This obviously leaves some room for debate, especially without first editing the docs with this distinction in mind, but if people hate what I've done things can always be moved again. Note also that while roff macro man pages traditionally go in section 7, I have put all the roff documentation (macros, tools, etc.) in one place in reference/ref1/roff. This will make it easier to find and also easier to edit it into some kind of coherent form.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/groff/contrib/mom/examples/Makefile4
-rw-r--r--gnu/usr.bin/groff/contrib/mom/momdoc/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/groff/contrib/mom/examples/Makefile b/gnu/usr.bin/groff/contrib/mom/examples/Makefile
index 2b9d32953d4..7446613c5ab 100644
--- a/gnu/usr.bin/groff/contrib/mom/examples/Makefile
+++ b/gnu/usr.bin/groff/contrib/mom/examples/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.8 2010/01/26 15:11:56 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2014/07/05 19:22:42 dholland Exp $
DIST_SUBDIR= contrib/mom/examples
.include <bsd.own.mk>
.if ${MKSHARE} != "no"
-FILESDIR= ${DOCDIR}/groff/mom
+FILESDIR= /usr/share/doc/reference/ref1/roff/mom_examples
MOM_FILES= typesetting.mom letter.mom sample_docs.mom
FILES= README.txt elvis_syntax elvis_syntax.new penguin.ps ${MOM_FILES}
.endif # MKSHARE
diff --git a/gnu/usr.bin/groff/contrib/mom/momdoc/Makefile b/gnu/usr.bin/groff/contrib/mom/momdoc/Makefile
index 8a7d15f6c82..7c92b96066d 100644
--- a/gnu/usr.bin/groff/contrib/mom/momdoc/Makefile
+++ b/gnu/usr.bin/groff/contrib/mom/momdoc/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.3 2010/01/26 15:11:56 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2014/07/05 19:22:42 dholland Exp $
DIST_SUBDIR= contrib/mom/momdoc
.include <bsd.own.mk>
.if ${MKSHARE} != "no"
-FILESDIR= ${HTMLDOCDIR}/groff/mom
+FILESDIR= /usr/share/doc/reference/ref1/roff/mom
FILES= appendices.html \
color.html \
cover.html \