Commit Graph

53 Commits

Author SHA1 Message Date
wiz fca9124183 Hardcode some dates to make this more MKREPRO safe. 2015-12-23 10:43:35 +00:00
wiz 1c9d345b30 Fix a date to make this more reproducible. 2015-12-05 08:11:42 +00:00
christos 27a26957d4 PR/50360: Thomas Klausner: Fix MKREPRO builds 2015-11-25 01:20:11 +00:00
christos 0c6cb327ba apply the roman numeral page number fix from psd/Title 2014-10-01 01:11:39 +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
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
mycroft 20dd5ad0e7 Allow docs elsewhere in tree to be built with "make" after installation. 2004-08-06 16:35:41 +00:00
mycroft 436580ddb6 Update the list of missing stuff. 2004-08-06 16:31:43 +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 b4371d47f5 Replace some misuses of "then" with "than". 2001-12-04 17:56:30 +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
ross 1ad3689402 Make this work with groff. Regression tested on BTL (well, Solaris) troff. 1999-02-05 00:58:04 +00:00
lukem 9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
mycroft 7cd85b718c Update -me revision number. 1998-05-05 08:04:28 +00:00
mycroft 156db09131 Oops; fix a couple of references to the superscript macros in the summary. 1998-05-05 07:54:34 +00:00
mycroft 2ad375365c Update for changes to tmac.e to work with groff. 1998-05-05 07:47:15 +00:00
perry 6d400d5685 RCS Id Police. 1998-01-09 06:54:57 +00:00
mrg 339de23572 merge lite-2. 1997-10-17 09:59:27 +00:00
mrg e50147fe98 4.4BSD-Lite2 1997-10-17 09:49:00 +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
christos 5742e87649 Fix PR/2538: Remove the 04.csh reference from the Makefile. This doc is in
USD.doc in src/bin/csh.
1996-09-30 17:39:27 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
briggs 4454560c78 Finish change to allow 04.csh to be optional. 1994-12-26 19:11:05 +00:00
mycroft 083f69b8a4 Clean up deleted files. 1994-12-18 11:44:46 +00:00
cgd 29070e40a4 csh docs installed along with csh binary, and sources live with csh sources. 1994-12-18 11:44:42 +00:00
mrg e6caae7a74 4.4BSD-Lite2 1994-08-08 19:32:44 +00:00
cgd 3448b20f99 use the ms macro package, rather than the msU one. from
Luke Mewburn <lm@karybdis.cs.rmit.OZ.AU>/
1994-06-30 05:34:53 +00:00
cgd 01d538b31a slight mod to the way in-source docs are handled 1994-06-25 05:49:29 +00:00
cgd f9a7ed06b5 make it work 1994-06-19 03:15:43 +00:00
cgd e5e19412b4 clean up import 1994-06-19 01:13:13 +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 9c704c6bc2 light update from Mike Long <mike.long@analog.com> 1994-04-29 00:05:49 +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
cgd e228adedb3 typo fix by Mark_Weaver@brown.edu 1993-10-23 00:24:50 +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 dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft 5b11c06adf Add RCS indentifiers. 1993-07-31 15:27:53 +00:00
cgd cbdb50c1c1 incorporate changes from 0-9-base to 0-9-ALPHA 1993-07-28 00:56:43 +00:00
cgd b84e2217a4 allow docs to make an obj dir and build properly with it. 1993-07-04 13:01:30 +00:00
cgd d2f1cebe30 make documentation build into ps files. this works, mostly... 1993-06-09 22:00:27 +00:00
cgd 1e14b562af make documentation build into ps files. this works, mostly... 1993-06-09 21:47:31 +00:00
cgd 80b652e0f4 make sure directory to install stuff exists before installing 1993-04-09 09:39:59 +00:00