Commit Graph

53 Commits

Author SHA1 Message Date
christos 0c6cb327ba apply the roman numeral page number fix from psd/Title 2014-10-01 01:11:39 +00:00
dholland f99f788cdd New sentence, new line. 2014-07-06 05:32:30 +00:00
dholland 75eb1ae2e9 Minor updates - I've attempted to catch the most glaringly outdated
statements but haven't made any effort yet to rewrite the main content.
2014-07-06 05:16:18 +00:00
dholland 0580599ec4 Reorg docs, part 3:
Move the documents that are papers to /usr/share/doc/papers.
Give them suitable names (including the author and year).

The key property of papers that distinguishes them from documentation
is that they're historical: they're published at a particular time and
aren't updated or maintained. (Except cosmetically.)

We should only ship papers that are of interest to users, either for
historical perspective or because they're the original research
writeup of stuff that went into the system and is still pertinent.

The ffs papers clearly meet this standard; the other one here (about
passwords, in 1978) is probably past its sell-by date.
2014-07-05 19:23:15 +00:00
dholland b7b7574d3b 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.
2014-07-05 19:22:41 +00:00
dholland c3ab26950f Rework /usr/share/doc.
Update the <bsd.doc.mk> infrastructure, and update the docs to match
the new infrastructure.

- Build and install text, ps, pdf, and/or html, not roff sources.

- Don't wire the chapter numbers into the build system, or use them in
the installed pathnames. This didn't matter much when the docs were a
museum, but now that we're theoretically going to start maintaining
them again, we're going to add and remove documents periodically and
having the chapter numbers baked in creates a lot of thrashing for no
purpose.

- Specify the document name explicitly, rather than implicitly in a
path. Use this name (instead of other random strings) as the name
of the installed files.

- Specify the document section, which is the subdirectory of
/usr/share/doc to install into.

- Allow multiple subdocuments. (That is, multiple documents in one
output directory.)

- Enumerate the .png files groff emits along with html so they can be
installed.

- Remove assorted hand-rolled rules for running roff and roff widgetry
and add enough variable settings to make these unnecessary. This
includes support for
   - explicit use of soelim
   - refer
   - tbl
   - pic
   - eqn

- Forcibly apply at least minimal amounts of sanity to certain
autogenerated roff files.

- Don't exclude USD.doc, SMM.doc, and PSD.doc directories from the
build, as they now actually do stuff.

Note: currently we can't generate pdf. This turns out to be a
nontrivial problem with no immediate solution forthcoming. So for now,
as a workaround, install compressed .ps as the printable form.
2014-07-05 19:22:02 +00:00
dholland e8c5ba3f3f Some edits, prompted by suggestions from Edgar Fuss. 2012-08-14 05:14:53 +00:00
wiz 44bdf20c29 Typos, capitalization, and file systems.
(Not reviewed at the content level.)
2012-05-21 06:30:18 +00:00
dholland f55f861ea1 Update. comments/suggestions/edits please.
This should be pulled up to netbsd-6 once the dust (if any) settles.
2012-05-21 05:53:28 +00:00
wiz 3d3c5d42cb Observe the following spelling:
- wide character (noun)
- wide-character (adjective)

Inspired by jmc@OpenBSD.
2010-12-16 17:42:25 +00:00
garbled 49a3869ae1 Import the config documentation from FreeBSD into the smm. Rather than
name the directory "02.config" as it historically was, name it config, so
that if we ever want to update this book for the modern age, we can move
chapters around, delete them, etc, without mass confusion.
2007-12-18 03:35:51 +00:00
mjf 036409b859 Commit Caldera licensed documentation from 4.4BSD. This was taken from the
OpenBSD tree.

No objections on netbsd-docs.
2007-11-29 12:35:04 +00:00
wiz d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
lukem 7fac3a4aea check MKDOC instead of MKSHARE 2004-01-11 16:11:52 +00:00
agc 075022b349 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22309, verified by myself.
2003-08-07 10:30:41 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
wiz 1ffa7b76c4 DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
perry 1f4ad37fe3 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-05 00:02:24 +00:00
pooka 5e4c038a45 Reflect bsd.doc.mk rev 1.52 here, and make sure that ROFF uses MACROS.
This has the effect of the postscript output actually being readable.
2002-06-02 17:40:44 +00:00
hubertf bba4753775 fix typo 2001-03-11 21:22:22 +00:00
lukem 37fc22a21d yet *more* bsd.own.mk stuff i missed... :( 1999-02-14 09:47:46 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
lukem 9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
perry 6b9926770a get rid of secretmail residue -- suggested in pr-4568 from Carl Shapiro 1998-01-10 00:06:23 +00:00
perry 6d400d5685 RCS Id Police. 1998-01-09 06:54:57 +00:00
christos f16e1f4012 Timed and timedops are in /usr/src/usr.sbin/timed/SMM.doc, not missing. 1997-12-21 16:12:03 +00:00
christos 51d47fee68 Make them use objdirs. 1997-12-21 15:36:42 +00:00
mrg e50147fe98 4.4BSD-Lite2 1997-10-17 09:49:00 +00:00
mrg 84d0ab5517 merge lite-2. 1997-10-17 09:40:33 +00:00
lukem e3314ef32b rcsid fascism 1997-10-13 11:19:47 +00:00
christos 3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
thorpej 7f9ea0f2ed Use ${INSTALL}. 1996-10-18 05:45:01 +00:00
cgd ef2af437ba SMM '03.fsck' has been renamed '03.fsck_ffs' 1996-04-05 01:52:24 +00:00
mrg 30675b877b 4.4BSD-Lite2 1995-04-29 00:26:52 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
mycroft b57ce343c0 Use POSIX form of kill(1). 1994-09-23 23:26:54 +00:00
mrg e6caae7a74 4.4BSD-Lite2 1994-08-08 19:32:44 +00:00
cgd 01d538b31a slight mod to the way in-source docs are handled 1994-06-25 05:49:29 +00:00
cgd defb1d9778 make it work 1994-06-19 02:17:46 +00:00
cgd e5e19412b4 clean up import 1994-06-19 01:13:13 +00:00
mycroft 39b3222f1a Clean up deleted files. 1994-06-19 00:24:08 +00:00
cgd e9d9e0c442 some more things not in Lite 1994-06-19 00:24:03 +00:00
cgd d9158b13b5 new doc set from Lite 1994-06-19 00:07:16 +00:00
mycroft fa6cb59648 Clean up deleted files. 1994-06-18 23:54:11 +00:00
cgd c440ffb67d kill bogus install -d's, and clean slightly 1994-02-10 01:54:10 +00:00
cgd f56374807f PRINTER -> PRINTER_TYPE 1994-01-24 22:36:32 +00:00
cgd 77dff56471 various doc fixes from Luke Mewburn <lm@rmit.edu.au> 1994-01-03 08:34:00 +00:00
jtc 4180d478c3 Always use `install -d' to make sure destination directory exists & has
correct ownership and permissions.
1993-09-30 23:31:09 +00:00
mycroft 5b11c06adf Add RCS indentifiers. 1993-07-31 15:27:53 +00:00
cgd b84e2217a4 allow docs to make an obj dir and build properly with it. 1993-07-04 13:01:30 +00:00