head	1.25;
access;
symbols
	netbsd-11-0-RC4:1.25
	netbsd-11-0-RC3:1.25
	netbsd-11-0-RC2:1.25
	netbsd-11-0-RC1:1.25
	perseant-exfatfs-base-20250801:1.25
	netbsd-11:1.25.0.38
	netbsd-11-base:1.25
	netbsd-10-1-RELEASE:1.25
	perseant-exfatfs-base-20240630:1.25
	perseant-exfatfs:1.25.0.36
	perseant-exfatfs-base:1.25
	netbsd-8-3-RELEASE:1.25
	netbsd-9-4-RELEASE:1.25
	netbsd-10-0-RELEASE:1.25
	netbsd-10-0-RC6:1.25
	netbsd-10-0-RC5:1.25
	netbsd-10-0-RC4:1.25
	netbsd-10-0-RC3:1.25
	netbsd-10-0-RC2:1.25
	netbsd-10-0-RC1:1.25
	netbsd-10:1.25.0.34
	netbsd-10-base:1.25
	netbsd-9-3-RELEASE:1.25
	cjep_sun2x-base1:1.25
	cjep_sun2x:1.25.0.32
	cjep_sun2x-base:1.25
	cjep_staticlib_x-base1:1.25
	netbsd-9-2-RELEASE:1.25
	cjep_staticlib_x:1.25.0.30
	cjep_staticlib_x-base:1.25
	netbsd-9-1-RELEASE:1.25
	phil-wifi-20200421:1.25
	phil-wifi-20200411:1.25
	is-mlppp:1.25.0.28
	is-mlppp-base:1.25
	phil-wifi-20200406:1.25
	netbsd-8-2-RELEASE:1.25
	netbsd-9-0-RELEASE:1.25
	netbsd-9-0-RC2:1.25
	netbsd-9-0-RC1:1.25
	phil-wifi-20191119:1.25
	netbsd-9:1.25.0.26
	netbsd-9-base:1.25
	phil-wifi-20190609:1.25
	netbsd-8-1-RELEASE:1.25
	netbsd-8-1-RC1:1.25
	pgoyette-compat-merge-20190127:1.25
	pgoyette-compat-20190127:1.25
	pgoyette-compat-20190118:1.25
	pgoyette-compat-1226:1.25
	pgoyette-compat-1126:1.25
	pgoyette-compat-1020:1.25
	pgoyette-compat-0930:1.25
	pgoyette-compat-0906:1.25
	netbsd-7-2-RELEASE:1.25
	pgoyette-compat-0728:1.25
	netbsd-8-0-RELEASE:1.25
	phil-wifi:1.25.0.24
	phil-wifi-base:1.25
	pgoyette-compat-0625:1.25
	netbsd-8-0-RC2:1.25
	pgoyette-compat-0521:1.25
	pgoyette-compat-0502:1.25
	pgoyette-compat-0422:1.25
	netbsd-8-0-RC1:1.25
	pgoyette-compat-0415:1.25
	pgoyette-compat-0407:1.25
	pgoyette-compat-0330:1.25
	pgoyette-compat-0322:1.25
	pgoyette-compat-0315:1.25
	netbsd-7-1-2-RELEASE:1.25
	pgoyette-compat:1.25.0.22
	pgoyette-compat-base:1.25
	netbsd-7-1-1-RELEASE:1.25
	matt-nb8-mediatek:1.25.0.20
	matt-nb8-mediatek-base:1.25
	perseant-stdc-iso10646:1.25.0.18
	perseant-stdc-iso10646-base:1.25
	netbsd-8:1.25.0.16
	netbsd-8-base:1.25
	prg-localcount2-base3:1.25
	prg-localcount2-base2:1.25
	prg-localcount2-base1:1.25
	prg-localcount2:1.25.0.14
	prg-localcount2-base:1.25
	pgoyette-localcount-20170426:1.25
	bouyer-socketcan-base1:1.25
	pgoyette-localcount-20170320:1.25
	netbsd-7-1:1.25.0.12
	netbsd-7-1-RELEASE:1.25
	netbsd-7-1-RC2:1.25
	netbsd-7-nhusb-base-20170116:1.25
	bouyer-socketcan:1.25.0.10
	bouyer-socketcan-base:1.25
	pgoyette-localcount-20170107:1.25
	netbsd-7-1-RC1:1.25
	pgoyette-localcount-20161104:1.25
	netbsd-7-0-2-RELEASE:1.25
	localcount-20160914:1.25
	netbsd-7-nhusb:1.25.0.8
	netbsd-7-nhusb-base:1.25
	pgoyette-localcount-20160806:1.25
	pgoyette-localcount-20160726:1.25
	pgoyette-localcount:1.25.0.6
	pgoyette-localcount-base:1.25
	netbsd-7-0-1-RELEASE:1.25
	netbsd-7-0:1.25.0.4
	netbsd-7-0-RELEASE:1.25
	netbsd-7-0-RC3:1.25
	netbsd-7-0-RC2:1.25
	netbsd-7-0-RC1:1.25
	netbsd-5-2-3-RELEASE:1.24
	netbsd-5-1-5-RELEASE:1.24
	netbsd-6-0-6-RELEASE:1.24
	netbsd-6-1-5-RELEASE:1.24
	netbsd-7:1.25.0.2
	netbsd-7-base:1.25
	yamt-pagecache-base9:1.24
	yamt-pagecache-tag8:1.24
	netbsd-6-1-4-RELEASE:1.24
	netbsd-6-0-5-RELEASE:1.24
	tls-earlyentropy:1.24.0.46
	tls-earlyentropy-base:1.25
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.24
	riastradh-drm2-base3:1.24
	netbsd-6-1-3-RELEASE:1.24
	netbsd-6-0-4-RELEASE:1.24
	netbsd-5-2-2-RELEASE:1.24
	netbsd-5-1-4-RELEASE:1.24
	netbsd-6-1-2-RELEASE:1.24
	netbsd-6-0-3-RELEASE:1.24
	netbsd-5-2-1-RELEASE:1.24
	netbsd-5-1-3-RELEASE:1.24
	netbsd-6-1-1-RELEASE:1.24
	riastradh-drm2-base2:1.24
	riastradh-drm2-base1:1.24
	riastradh-drm2:1.24.0.40
	riastradh-drm2-base:1.24
	netbsd-6-1:1.24.0.44
	netbsd-6-0-2-RELEASE:1.24
	netbsd-6-1-RELEASE:1.24
	netbsd-6-1-RC4:1.24
	netbsd-6-1-RC3:1.24
	agc-symver:1.24.0.42
	agc-symver-base:1.24
	netbsd-6-1-RC2:1.24
	netbsd-6-1-RC1:1.24
	yamt-pagecache-base8:1.24
	netbsd-5-2:1.24.0.38
	netbsd-6-0-1-RELEASE:1.24
	yamt-pagecache-base7:1.24
	netbsd-5-2-RELEASE:1.24
	netbsd-5-2-RC1:1.24
	matt-nb6-plus-nbase:1.24
	yamt-pagecache-base6:1.24
	netbsd-6-0:1.24.0.36
	netbsd-6-0-RELEASE:1.24
	netbsd-6-0-RC2:1.24
	tls-maxphys:1.24.0.34
	tls-maxphys-base:1.25
	matt-nb6-plus:1.24.0.32
	matt-nb6-plus-base:1.24
	netbsd-6-0-RC1:1.24
	yamt-pagecache-base5:1.24
	yamt-pagecache-base4:1.24
	netbsd-6:1.24.0.30
	netbsd-6-base:1.24
	netbsd-5-1-2-RELEASE:1.24
	netbsd-5-1-1-RELEASE:1.24
	yamt-pagecache-base3:1.24
	yamt-pagecache-base2:1.24
	yamt-pagecache:1.24.0.28
	yamt-pagecache-base:1.24
	cherry-xenmp:1.24.0.26
	cherry-xenmp-base:1.24
	bouyer-quota2-nbase:1.24
	bouyer-quota2:1.24.0.24
	bouyer-quota2-base:1.24
	matt-mips64-premerge-20101231:1.24
	matt-nb5-mips64-premerge-20101231:1.24
	matt-nb5-pq3:1.24.0.22
	matt-nb5-pq3-base:1.24
	netbsd-5-1:1.24.0.20
	netbsd-5-1-RELEASE:1.24
	netbsd-5-1-RC4:1.24
	matt-nb5-mips64-k15:1.24
	netbsd-5-1-RC3:1.24
	netbsd-5-1-RC2:1.24
	netbsd-5-1-RC1:1.24
	netbsd-5-0-2-RELEASE:1.24
	matt-nb5-mips64-premerge-20091211:1.24
	matt-premerge-20091211:1.24
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.24
	matt-nb4-mips64-k7-u2a-k9b:1.24
	matt-nb5-mips64-u1-k1-k5:1.24
	matt-nb5-mips64:1.24.0.18
	netbsd-5-0-1-RELEASE:1.24
	jym-xensuspend-nbase:1.24
	netbsd-5-0:1.24.0.16
	netbsd-5-0-RELEASE:1.24
	netbsd-5-0-RC4:1.24
	netbsd-5-0-RC3:1.24
	netbsd-5-0-RC2:1.24
	jym-xensuspend:1.24.0.14
	jym-xensuspend-base:1.24
	netbsd-5-0-RC1:1.24
	netbsd-5:1.24.0.12
	netbsd-5-base:1.24
	matt-mips64-base2:1.24
	matt-mips64:1.23.0.20
	netbsd-4-0-1-RELEASE:1.23
	wrstuden-revivesa-base-3:1.24
	wrstuden-revivesa-base-2:1.24
	wrstuden-fixsa-newbase:1.23
	wrstuden-revivesa-base-1:1.24
	yamt-pf42-base4:1.24
	yamt-pf42-base3:1.24
	hpcarm-cleanup-nbase:1.24
	yamt-pf42-baseX:1.24
	yamt-pf42-base2:1.24
	wrstuden-revivesa:1.24.0.10
	wrstuden-revivesa-base:1.24
	yamt-pf42:1.24.0.8
	yamt-pf42-base:1.24
	mjf-devfs2:1.24.0.6
	mjf-devfs2-base:1.24
	keiichi-mipv6-nbase:1.24
	keiichi-mipv6:1.24.0.4
	keiichi-mipv6-base:1.24
	matt-armv6-nbase:1.24
	matt-armv6-prevmlocking:1.23
	wrstuden-fixsa-base-1:1.23
	netbsd-4-0:1.23.0.18
	netbsd-4-0-RELEASE:1.23
	cube-autoconf:1.24.0.2
	cube-autoconf-base:1.24
	netbsd-4-0-RC5:1.23
	netbsd-4-0-RC4:1.23
	netbsd-4-0-RC3:1.23
	netbsd-4-0-RC2:1.23
	netbsd-4-0-RC1:1.23
	matt-armv6:1.23.0.16
	matt-armv6-base:1.24
	matt-mips64-base:1.23
	hpcarm-cleanup:1.23.0.14
	hpcarm-cleanup-base:1.24
	netbsd-3-1-1-RELEASE:1.23
	netbsd-3-0-3-RELEASE:1.23
	wrstuden-fixsa:1.23.0.12
	wrstuden-fixsa-base:1.23
	abandoned-netbsd-4-base:1.23
	abandoned-netbsd-4:1.23.0.6
	netbsd-3-1:1.23.0.8
	netbsd-3-1-RELEASE:1.23
	netbsd-3-0-2-RELEASE:1.23
	netbsd-3-1-RC4:1.23
	netbsd-3-1-RC3:1.23
	netbsd-3-1-RC2:1.23
	netbsd-3-1-RC1:1.23
	netbsd-4:1.23.0.10
	netbsd-4-base:1.23
	netbsd-3-0-1-RELEASE:1.23
	netbsd-3-0:1.23.0.4
	netbsd-3-0-RELEASE:1.23
	netbsd-3-0-RC6:1.23
	netbsd-3-0-RC5:1.23
	netbsd-3-0-RC4:1.23
	netbsd-3-0-RC3:1.23
	netbsd-3-0-RC2:1.23
	netbsd-3-0-RC1:1.23
	netbsd-2-0-3-RELEASE:1.21
	netbsd-2-1:1.21.0.6
	netbsd-2-1-RELEASE:1.21
	netbsd-2-1-RC6:1.21
	netbsd-2-1-RC5:1.21
	netbsd-2-1-RC4:1.21
	netbsd-2-1-RC3:1.21
	netbsd-2-1-RC2:1.21
	netbsd-2-1-RC1:1.21
	netbsd-2-0-2-RELEASE:1.21
	netbsd-3:1.23.0.2
	netbsd-3-base:1.23
	netbsd-2-0-1-RELEASE:1.21
	netbsd-2:1.21.0.4
	netbsd-2-base:1.21
	netbsd-2-0-RELEASE:1.21
	netbsd-2-0-RC5:1.21
	netbsd-2-0-RC4:1.21
	netbsd-2-0-RC3:1.21
	netbsd-2-0-RC2:1.21
	netbsd-2-0-RC1:1.21
	netbsd-2-0:1.21.0.2
	netbsd-2-0-base:1.21
	netbsd-1-6-PATCH002-RELEASE:1.19
	netbsd-1-6-PATCH002:1.19
	netbsd-1-6-PATCH002-RC4:1.19
	netbsd-1-6-PATCH002-RC3:1.19
	netbsd-1-6-PATCH002-RC2:1.19
	netbsd-1-6-PATCH002-RC1:1.19
	netbsd-1-6-PATCH001:1.19
	netbsd-1-6-PATCH001-RELEASE:1.19
	netbsd-1-6-PATCH001-RC3:1.19
	netbsd-1-6-PATCH001-RC2:1.19
	netbsd-1-6-PATCH001-RC1:1.19
	fvdl_fs64_base:1.19
	netbsd-1-6-RELEASE:1.19
	netbsd-1-6-RC3:1.19
	netbsd-1-6-RC2:1.19
	netbsd-1-6-RC1:1.19
	netbsd-1-6:1.19.0.12
	netbsd-1-6-base:1.19
	netbsd-1-5-PATCH003:1.19
	netbsd-1-5-PATCH002:1.19
	netbsd-1-5-PATCH001:1.19
	netbsd-1-5-RELEASE:1.19
	netbsd-1-5-BETA2:1.19
	netbsd-1-5-BETA:1.19
	netbsd-1-4-PATCH003:1.19
	netbsd-1-5-ALPHA2:1.19
	netbsd-1-5:1.19.0.10
	netbsd-1-5-base:1.19
	minoura-xpg4dl:1.19.0.8
	minoura-xpg4dl-base:1.19
	netbsd-1-4-PATCH002:1.19
	wrstuden-devbsize-19991221:1.19
	wrstuden-devbsize:1.19.0.6
	wrstuden-devbsize-base:1.19
	comdex-fall-1999:1.19.0.4
	comdex-fall-1999-base:1.19
	netbsd-1-4-PATCH001:1.19
	netbsd-1-4-RELEASE:1.19
	netbsd-1-4:1.19.0.2
	netbsd-1-4-base:1.19
	netbsd-1-3-PATCH003:1.15
	netbsd-1-3-PATCH003-CANDIDATE2:1.15
	netbsd-1-3-PATCH003-CANDIDATE1:1.15
	netbsd-1-3-PATCH003-CANDIDATE0:1.15
	netbsd-1-3-PATCH002:1.15
	netbsd-1-3-PATCH001:1.15
	netbsd-1-3-RELEASE:1.15
	netbsd-1-3-BETA:1.15
	netbsd-1-3:1.15.0.2
	netbsd-1-3-base:1.15
	lite-2:1.1.1.3
	netbsd-1-2-PATCH001:1.11
	netbsd-1-2-RELEASE:1.11
	netbsd-1-2-BETA:1.11
	netbsd-1-2:1.11.0.6
	netbsd-1-2-base:1.11
	netbsd-1-1-PATCH001:1.11
	netbsd-1-1-RELEASE:1.11
	netbsd-1-1:1.11.0.2
	netbsd-1-1-base:1.11
	netbsd-1-0-PATCH06:1.9
	netbsd-1-0-PATCH05:1.9
	netbsd-1-0-PATCH04:1.9
	netbsd-1-0-PATCH03:1.9
	netbsd-1-0-PATCH02:1.9
	netbsd-1-0-PATCH1:1.9
	netbsd-1-0-PATCH0:1.9
	netbsd-1-0-RELEASE:1.9
	netbsd-1-0:1.9.0.2
	netbsd-1-0-base:1.9
	Lite-1:1.1.1.2
	CSRG:1.1.1
	netbsd-0-9-RELEASE:1.3
	netbsd-0-9-BETA:1.3
	netbsd-0-9-ALPHA2:1.3
	netbsd-0-9-ALPHA:1.3
	netbsd-0-9:1.3.0.2
	netbsd-0-9-base:1.3
	netbsd-0-8:1.2
	netbsd-alpha-1:1.2
	patchkit-0-2-2:1.1.1.1
	WFJ-386bsd-01:1.1.1.1
	WFJ-920714:1.1.1;
locks; strict;
comment	@# @;


1.25
date	2014.07.05.19.22.04;	author dholland;	state Exp;
branches;
next	1.24;
commitid	3a5SlnCocjK3UdHx;

1.24
date	2007.11.29.12.35.05;	author mjf;	state Exp;
branches
	1.24.34.1
	1.24.46.1;
next	1.23;

1.23
date	2004.08.06.16.35.41;	author mycroft;	state Exp;
branches
	1.23.16.1;
next	1.22;

1.22
date	2004.08.06.16.31.43;	author mycroft;	state Exp;
branches;
next	1.21;

1.21
date	2004.01.11.16.11.52;	author lukem;	state Exp;
branches;
next	1.20;

1.20
date	2003.07.10.10.34.33;	author lukem;	state Exp;
branches;
next	1.19;

1.19
date	99.02.14.09.47.46;	author lukem;	state Exp;
branches;
next	1.18;

1.18
date	99.02.13.02.54.34;	author lukem;	state Exp;
branches;
next	1.17;

1.17
date	98.09.27.17.22.07;	author lukem;	state Exp;
branches;
next	1.16;

1.16
date	98.01.09.06.55.55;	author perry;	state Exp;
branches;
next	1.15;

1.15
date	97.10.17.10.00.18;	author mrg;	state Exp;
branches;
next	1.14;

1.14
date	97.03.24.21.57.05;	author christos;	state Exp;
branches;
next	1.13;

1.13
date	96.10.18.05.54.39;	author thorpej;	state Exp;
branches;
next	1.12;

1.12
date	96.09.30.17.39.27;	author christos;	state Exp;
branches;
next	1.11;

1.11
date	94.12.26.19.11.05;	author briggs;	state Exp;
branches;
next	1.10;

1.10
date	94.12.18.11.44.42;	author cgd;	state Exp;
branches;
next	1.9;

1.9
date	94.06.25.05.49.41;	author cgd;	state Exp;
branches;
next	1.8;

1.8
date	94.06.19.03.15.43;	author cgd;	state Exp;
branches;
next	1.7;

1.7
date	94.06.19.01.13.27;	author cgd;	state Exp;
branches;
next	1.6;

1.6
date	94.02.10.01.54.34;	author cgd;	state Exp;
branches;
next	1.5;

1.5
date	93.09.30.23.31.23;	author jtc;	state Exp;
branches;
next	1.4;

1.4
date	93.07.31.15.29.28;	author mycroft;	state Exp;
branches;
next	1.3;

1.3
date	93.06.09.21.49.25;	author cgd;	state Exp;
branches;
next	1.2;

1.2
date	93.04.09.09.41.35;	author cgd;	state Exp;
branches;
next	1.1;

1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches
	1.1.1.1;
next	;

1.24.34.1
date	2014.08.20.00.02.29;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.24.46.1
date	2014.08.10.06.53.14;	author tls;	state Exp;
branches;
next	;
commitid	VIodUwUnqWVqBMLx;

1.23.16.1
date	2008.01.09.01.38.52;	author matt;	state Exp;
branches;
next	;

1.1.1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	94.06.19.00.07.51;	author cgd;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	97.10.17.09.49.16;	author mrg;	state Exp;
branches;
next	;


desc
@@


1.25
log
@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.
@
text
@#	$NetBSD: Makefile,v 1.24 2007/11/29 12:35:05 mjf Exp $
#
#	@@(#)Makefile	8.3 (Berkeley) 5/16/94

.include <bsd.own.mk>

# The following modules do not build/install:
# 12.vi

# Missing:
# 14.jove 15.sed 28.bib

# Missing from 4.4BSD-Lite:
# 02.learn 03.shell 05.dc 06.bc 08.mh 09.edtut 10.edadv
# 16.awk 21.troff 22.trofftut 23.eqn 24.eqnguide
# 25.tbl 26.refer 27.invert 29.diction

SUBDIR+=01.begin 17.msmacros 18.msdiffs 19.memacros 20.meref
#SUBDIR+=04.csh 07.mail 11.edit 12.ex 13.viref
#SUBDIR+=30.rogue 31.trek

SECTION=usd
SUBARTICLES=title contents
SRCS.title=Title
SRCS.contents=00.contents
MACROS=-ms

.include <bsd.doc.mk>
.include <bsd.subdir.mk>
@


1.24
log
@Commit Caldera licensed documentation from 4.4BSD. This was taken from the
OpenBSD tree.

No objections on netbsd-docs.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2004/08/06 16:35:41 mycroft Exp $
a17 4
BINDIR=	/usr/share/doc/usd
.if ${MKDOC} != "no"
FILES=	00.contents Makefile Title
.endif
d19 2
a20 4
.if !make(install)
SUBDIR+=04.csh 07.mail 11.edit 12.ex 13.viref
SUBDIR+=30.rogue 31.trek
.endif
d22 5
a26 2
Title.ps: ${FILES}
	${TOOL_ROFF_PS} -ms Title > ${.TARGET}
d28 1
a28 4
contents.ps: ${FILES}
	${TOOL_ROFF_PS} -ms 00.contents > ${.TARGET}

.include <bsd.prog.mk>
@


1.24.34.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d18 4
d23 4
a26 2
#SUBDIR+=04.csh 07.mail 11.edit 12.ex 13.viref
#SUBDIR+=30.rogue 31.trek
d28 2
a29 5
SECTION=usd
SUBARTICLES=title contents
SRCS.title=Title
SRCS.contents=00.contents
MACROS=-ms
d31 4
a34 1
.include <bsd.doc.mk>
@


1.24.46.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2014/07/05 19:22:04 dholland Exp $
d18 4
d23 4
a26 2
#SUBDIR+=04.csh 07.mail 11.edit 12.ex 13.viref
#SUBDIR+=30.rogue 31.trek
d28 2
a29 5
SECTION=usd
SUBARTICLES=title contents
SRCS.title=Title
SRCS.contents=00.contents
MACROS=-ms
d31 4
a34 1
.include <bsd.doc.mk>
@


1.23
log
@Allow docs elsewhere in tree to be built with "make" after installation.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2004/08/06 16:31:43 mycroft Exp $
d14 2
a15 2
# 01.begin 02.learn 03.shell 05.dc 06.bc 08.mh 09.edtut 10.edadv
# 16.awk 17.msmacros 21.troff 22.trofftut 23.eqn 24.eqnguide
d22 1
a22 1
SUBDIR+=18.msdiffs 19.memacros 20.meref
@


1.23.16.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
d14 2
a15 2
# 02.learn 03.shell 05.dc 06.bc 08.mh 09.edtut 10.edadv
# 16.awk 21.troff 22.trofftut 23.eqn 24.eqnguide
d22 1
a22 1
SUBDIR+=01.begin 17.msmacros 18.msdiffs 19.memacros 20.meref
@


1.22
log
@Update the list of missing stuff.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2004/01/11 16:11:52 lukem Exp $
d8 1
a8 1
# 08.mh
d14 1
a14 1
# 01.begin 02.learn 03.shell 05.dc 06.bc 09.edtut 10.edadv
a21 1
#SUBDIR+=04.csh 07.mail 11.edit 12.ex 12.vi 13.viref
d23 4
a26 1
#SUBDIR+=30.rogue 31.trek
@


1.21
log
@check MKDOC instead of MKSHARE
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2003/07/10 10:34:33 lukem Exp $
d11 1
a11 1
# 07.mail 13.viref 14.jove 15.sed 28.bib 30.rogue 31.trek
d14 2
a15 2
# 01.begin 02.learn 03.shell 05.dc 06.bc 09.edtut 10.edadv 11.vitut
# 12.exref 16.awk 17.msmacros 21.troff 22.trofftut 23.eqn 24.eqnguide
d22 3
a24 6
SUBDIR=	18.msdiffs 19.memacros 20.meref
#SUBDIR=	01.begin 02.learn 03.shell 04.csh 05.dc 06.bc 07.mail 09.edtut \
#	10.edadv 11.vitut 12.exref 13.viref 14.jove 15.sed 16.awk 17.msmacros \
#	18.msdiffs 19.memacros 20.meref 21.troff 22.trofftut 23.eqn \
#	24.eqnguide 25.tbl 26.refer 27.invert 28.bib 29.diction 30.rogue \
#	31.trek
@


1.20
log
@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.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 1999/02/14 09:47:46 lukem Exp $
d19 1
a19 1
.if ${MKSHARE} != "no"
@


1.19
log
@yet *more* bsd.own.mk stuff i missed... :(
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 1999/02/13 02:54:34 lukem Exp $
d30 1
a30 1
	groff -ms Title > ${.TARGET}
d33 1
a33 1
	groff -ms 00.contents > ${.TARGET}
@


1.18
log
@convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 1998/09/27 17:22:07 lukem Exp $
d4 2
@


1.17
log
@don't install in /usr/share if NOSHARE is defined
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 1998/01/09 06:55:55 perry Exp $
d17 1
a17 1
.if !defined(NOSHARE)
@


1.16
log
@RCS Id Police.
@
text
@d1 1
a1 1
#	$NetBSD$
d17 1
d19 1
@


1.15
log
@merge lite-2.
@
text
@d1 2
@


1.14
log
@- Makefile cleanups
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.2 (Berkeley) 4/20/94
d17 5
d24 1
a24 1
	groff Title > ${.TARGET}
@


1.13
log
@Use ${INSTALL}.
@
text
@d24 1
a24 4
beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FILES} \
	    ${DESTDIR}${BINDIR}

@


1.12
log
@Fix PR/2538: Remove the 04.csh reference from the Makefile. This doc is in
USD.doc in src/bin/csh.
@
text
@d25 1
a25 1
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FILES} \
@


1.11
log
@Finish change to allow 04.csh to be optional.
@
text
@a16 3
.if exists(04.csh)
SUBDIR+= 04.csh
.endif
@


1.10
log
@csh docs installed along with csh binary, and sources live with csh sources.
@
text
@d16 1
a16 1
SUBDIR=	04.csh 18.msdiffs 19.memacros 20.meref
@


1.9
log
@slight mod to the way in-source docs are handled
@
text
@d17 3
@


1.8
log
@make it work
@
text
@a15 1
.ifnmake install
a16 4
.else
TOP=	../../..
SUBDIR=	04.csh 18.msdiffs 19.memacros 20.meref
.endif
@


1.7
log
@clean up import
@
text
@d6 8
d16 6
a21 5
SUBDIR=	01.begin 02.learn 03.shell 04.csh 05.dc 06.bc 07.mail 09.edtut \
	10.edadv 11.vitut 12.exref 13.viref 14.jove 15.sed 16.awk 17.msmacros \
	18.msdiffs 19.memacros 20.meref 21.troff 22.trofftut 23.eqn \
	24.eqnguide 25.tbl 26.refer 27.invert 28.bib 29.diction 30.rogue \
	31.trek
@


1.6
log
@kill bogus install -d's, and clean slightly
@
text
@d1 1
a1 2
#	from: @@(#)Makefile	5.1.1.1 (Berkeley) 5/7/91
#	$Id: Makefile,v 1.5 1993/09/30 23:31:23 jtc Exp $
d3 2
a4 5
#Missing: 01.begin 02.learn 03.shell 05.dc 06.bc 08.mh 12.edtut 13.edadv
#	  17.jove 18.sed 19.awk 20.msmacros 24.troff 25.trofftut 26.eqn
#	  27.eqnguide 28.tbl 29.refer 30.invert 31.bib 32.diction
#
#Broken:  11.notes
d8 5
a12 5
SUBDIR=	04.csh 07.Mail \
	09.newsread 10.etiq 14.edit 15.vi \
	16.ex 21.msdiffs 22.memacros \
	23.meref \
	33.rogue 34.trek
d14 7
a20 1
realinstall:
@


1.5
log
@Always use `install -d' to make sure destination directory exists & has
correct ownership and permissions.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.4 1993/07/31 15:29:28 mycroft Exp $
a16 3

beforeinstall:
	@@install -d -o root -g wheel -m 755 ${DESTDIR}${BINDIR}
@


1.4
log
@Add RCS indentifiers.
@
text
@d2 1
a2 1
#	$Id: $
d19 3
a21 8
	@@if [ ! -d ${DESTDIR}${BINDIR} ]; then \
                /bin/rm -f ${DESTDIR}${BINDIR} ; \
                mkdir -p ${DESTDIR}${BINDIR} ; \
                chown root.wheel ${DESTDIR}${BINDIR} ; \
                chmod 755 ${DESTDIR}${BINDIR} ; \
        else \
                true ; \
        fi
@


1.3
log
@make documentation build into ps files.  this works, mostly...
@
text
@d1 2
a2 1
#	@@(#)Makefile	5.1.1.1 (Berkeley) 5/7/91
@


1.2
log
@make sure directory to install stuff exists before installing
@
text
@d6 3
@


1.1
log
@Initial revision
@
text
@d15 8
@


1.1.1.1
log
@initial import of 386bsd-0.1 sources
@
text
@@


1.1.1.2
log
@new doc set from Lite
@
text
@d1 1
a1 4
#	@@(#)Makefile	8.2 (Berkeley) 4/20/94

# The following modules do not build/install:
# 08.mh
d3 3
d8 5
a12 11
SUBDIR=	01.begin 02.learn 03.shell 04.csh 05.dc 06.bc 07.mail 09.edtut \
	10.edadv 11.vitut 12.exref 13.viref 14.jove 15.sed 16.awk 17.msmacros \
	18.msdiffs 19.memacros 20.meref 21.troff 22.trofftut 23.eqn \
	24.eqnguide 25.tbl 26.refer 27.invert 28.bib 29.diction 30.rogue \
	31.trek

Title.ps: ${FILES}
	groff Title > ${.TARGET}

contents.ps: ${FILES}
	groff -ms 00.contents > ${.TARGET}
@


1.1.1.3
log
@4.4BSD-Lite2
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.3 (Berkeley) 5/16/94
d7 1
a7 1
FILES=	Makefile Title
d15 4
a18 1
	groff -ms Title > ${.TARGET}
@
