head	1.21;
access;
symbols
	netbsd-11-0-RC6:1.21
	netbsd-11-0-RC5:1.21
	netbsd-11-0-RC4:1.21
	netbsd-11-0-RC3:1.21
	netbsd-11-0-RC2:1.21
	netbsd-11-0-RC1:1.21
	perseant-exfatfs-base-20250801:1.21
	netbsd-11:1.21.0.38
	netbsd-11-base:1.21
	netbsd-10-1-RELEASE:1.21
	perseant-exfatfs-base-20240630:1.21
	perseant-exfatfs:1.21.0.36
	perseant-exfatfs-base:1.21
	netbsd-8-3-RELEASE:1.21
	netbsd-9-4-RELEASE:1.21
	netbsd-10-0-RELEASE:1.21
	netbsd-10-0-RC6:1.21
	netbsd-10-0-RC5:1.21
	netbsd-10-0-RC4:1.21
	netbsd-10-0-RC3:1.21
	netbsd-10-0-RC2:1.21
	netbsd-10-0-RC1:1.21
	netbsd-10:1.21.0.34
	netbsd-10-base:1.21
	netbsd-9-3-RELEASE:1.21
	cjep_sun2x-base1:1.21
	cjep_sun2x:1.21.0.32
	cjep_sun2x-base:1.21
	cjep_staticlib_x-base1:1.21
	netbsd-9-2-RELEASE:1.21
	cjep_staticlib_x:1.21.0.30
	cjep_staticlib_x-base:1.21
	netbsd-9-1-RELEASE:1.21
	phil-wifi-20200421:1.21
	phil-wifi-20200411:1.21
	is-mlppp:1.21.0.28
	is-mlppp-base:1.21
	phil-wifi-20200406:1.21
	netbsd-8-2-RELEASE:1.21
	netbsd-9-0-RELEASE:1.21
	netbsd-9-0-RC2:1.21
	netbsd-9-0-RC1:1.21
	phil-wifi-20191119:1.21
	netbsd-9:1.21.0.26
	netbsd-9-base:1.21
	phil-wifi-20190609:1.21
	netbsd-8-1-RELEASE:1.21
	netbsd-8-1-RC1:1.21
	pgoyette-compat-merge-20190127:1.21
	pgoyette-compat-20190127:1.21
	pgoyette-compat-20190118:1.21
	pgoyette-compat-1226:1.21
	pgoyette-compat-1126:1.21
	pgoyette-compat-1020:1.21
	pgoyette-compat-0930:1.21
	pgoyette-compat-0906:1.21
	netbsd-7-2-RELEASE:1.21
	pgoyette-compat-0728:1.21
	netbsd-8-0-RELEASE:1.21
	phil-wifi:1.21.0.24
	phil-wifi-base:1.21
	pgoyette-compat-0625:1.21
	netbsd-8-0-RC2:1.21
	pgoyette-compat-0521:1.21
	pgoyette-compat-0502:1.21
	pgoyette-compat-0422:1.21
	netbsd-8-0-RC1:1.21
	pgoyette-compat-0415:1.21
	pgoyette-compat-0407:1.21
	pgoyette-compat-0330:1.21
	pgoyette-compat-0322:1.21
	pgoyette-compat-0315:1.21
	netbsd-7-1-2-RELEASE:1.21
	pgoyette-compat:1.21.0.22
	pgoyette-compat-base:1.21
	netbsd-7-1-1-RELEASE:1.21
	matt-nb8-mediatek:1.21.0.20
	matt-nb8-mediatek-base:1.21
	perseant-stdc-iso10646:1.21.0.18
	perseant-stdc-iso10646-base:1.21
	netbsd-8:1.21.0.16
	netbsd-8-base:1.21
	prg-localcount2-base3:1.21
	prg-localcount2-base2:1.21
	prg-localcount2-base1:1.21
	prg-localcount2:1.21.0.14
	prg-localcount2-base:1.21
	pgoyette-localcount-20170426:1.21
	bouyer-socketcan-base1:1.21
	pgoyette-localcount-20170320:1.21
	netbsd-7-1:1.21.0.12
	netbsd-7-1-RELEASE:1.21
	netbsd-7-1-RC2:1.21
	netbsd-7-nhusb-base-20170116:1.21
	bouyer-socketcan:1.21.0.10
	bouyer-socketcan-base:1.21
	pgoyette-localcount-20170107:1.21
	netbsd-7-1-RC1:1.21
	pgoyette-localcount-20161104:1.21
	netbsd-7-0-2-RELEASE:1.21
	localcount-20160914:1.21
	netbsd-7-nhusb:1.21.0.8
	netbsd-7-nhusb-base:1.21
	pgoyette-localcount-20160806:1.21
	pgoyette-localcount-20160726:1.21
	pgoyette-localcount:1.21.0.6
	pgoyette-localcount-base:1.21
	netbsd-7-0-1-RELEASE:1.21
	netbsd-7-0:1.21.0.4
	netbsd-7-0-RELEASE:1.21
	netbsd-7-0-RC3:1.21
	netbsd-7-0-RC2:1.21
	netbsd-7-0-RC1:1.21
	netbsd-5-2-3-RELEASE:1.20
	netbsd-5-1-5-RELEASE:1.20
	netbsd-6-0-6-RELEASE:1.20
	netbsd-6-1-5-RELEASE:1.20
	netbsd-7:1.21.0.2
	netbsd-7-base:1.21
	yamt-pagecache-base9:1.20
	yamt-pagecache-tag8:1.20
	netbsd-6-1-4-RELEASE:1.20
	netbsd-6-0-5-RELEASE:1.20
	tls-earlyentropy:1.20.0.46
	tls-earlyentropy-base:1.21
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.20
	riastradh-drm2-base3:1.20
	netbsd-6-1-3-RELEASE:1.20
	netbsd-6-0-4-RELEASE:1.20
	netbsd-5-2-2-RELEASE:1.20
	netbsd-5-1-4-RELEASE:1.20
	netbsd-6-1-2-RELEASE:1.20
	netbsd-6-0-3-RELEASE:1.20
	netbsd-5-2-1-RELEASE:1.20
	netbsd-5-1-3-RELEASE:1.20
	netbsd-6-1-1-RELEASE:1.20
	riastradh-drm2-base2:1.20
	riastradh-drm2-base1:1.20
	riastradh-drm2:1.20.0.40
	riastradh-drm2-base:1.20
	netbsd-6-1:1.20.0.44
	netbsd-6-0-2-RELEASE:1.20
	netbsd-6-1-RELEASE:1.20
	netbsd-6-1-RC4:1.20
	netbsd-6-1-RC3:1.20
	agc-symver:1.20.0.42
	agc-symver-base:1.20
	netbsd-6-1-RC2:1.20
	netbsd-6-1-RC1:1.20
	yamt-pagecache-base8:1.20
	netbsd-5-2:1.20.0.38
	netbsd-6-0-1-RELEASE:1.20
	yamt-pagecache-base7:1.20
	netbsd-5-2-RELEASE:1.20
	netbsd-5-2-RC1:1.20
	matt-nb6-plus-nbase:1.20
	yamt-pagecache-base6:1.20
	netbsd-6-0:1.20.0.36
	netbsd-6-0-RELEASE:1.20
	netbsd-6-0-RC2:1.20
	tls-maxphys:1.20.0.34
	tls-maxphys-base:1.21
	matt-nb6-plus:1.20.0.32
	matt-nb6-plus-base:1.20
	netbsd-6-0-RC1:1.20
	yamt-pagecache-base5:1.20
	yamt-pagecache-base4:1.20
	netbsd-6:1.20.0.30
	netbsd-6-base:1.20
	netbsd-5-1-2-RELEASE:1.20
	netbsd-5-1-1-RELEASE:1.20
	yamt-pagecache-base3:1.20
	yamt-pagecache-base2:1.20
	yamt-pagecache:1.20.0.28
	yamt-pagecache-base:1.20
	cherry-xenmp:1.20.0.26
	cherry-xenmp-base:1.20
	bouyer-quota2-nbase:1.20
	bouyer-quota2:1.20.0.24
	bouyer-quota2-base:1.20
	matt-mips64-premerge-20101231:1.20
	matt-nb5-mips64-premerge-20101231:1.20
	matt-nb5-pq3:1.20.0.22
	matt-nb5-pq3-base:1.20
	netbsd-5-1:1.20.0.20
	netbsd-5-1-RELEASE:1.20
	netbsd-5-1-RC4:1.20
	matt-nb5-mips64-k15:1.20
	netbsd-5-1-RC3:1.20
	netbsd-5-1-RC2:1.20
	netbsd-5-1-RC1:1.20
	netbsd-5-0-2-RELEASE:1.20
	matt-nb5-mips64-premerge-20091211:1.20
	matt-premerge-20091211:1.20
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.20
	matt-nb4-mips64-k7-u2a-k9b:1.20
	matt-nb5-mips64-u1-k1-k5:1.20
	matt-nb5-mips64:1.20.0.18
	netbsd-5-0-1-RELEASE:1.20
	jym-xensuspend-nbase:1.20
	netbsd-5-0:1.20.0.16
	netbsd-5-0-RELEASE:1.20
	netbsd-5-0-RC4:1.20
	netbsd-5-0-RC3:1.20
	netbsd-5-0-RC2:1.20
	jym-xensuspend:1.20.0.14
	jym-xensuspend-base:1.20
	netbsd-5-0-RC1:1.20
	netbsd-5:1.20.0.12
	netbsd-5-base:1.20
	matt-mips64-base2:1.20
	matt-mips64:1.19.0.26
	netbsd-4-0-1-RELEASE:1.19
	wrstuden-revivesa-base-3:1.20
	wrstuden-revivesa-base-2:1.20
	wrstuden-fixsa-newbase:1.19
	wrstuden-revivesa-base-1:1.20
	yamt-pf42-base4:1.20
	yamt-pf42-base3:1.20
	hpcarm-cleanup-nbase:1.20
	yamt-pf42-baseX:1.20
	yamt-pf42-base2:1.20
	wrstuden-revivesa:1.20.0.10
	wrstuden-revivesa-base:1.20
	yamt-pf42:1.20.0.8
	yamt-pf42-base:1.20
	mjf-devfs2:1.20.0.6
	mjf-devfs2-base:1.20
	keiichi-mipv6-nbase:1.20
	keiichi-mipv6:1.20.0.4
	keiichi-mipv6-base:1.20
	matt-armv6-nbase:1.20
	matt-armv6-prevmlocking:1.19
	wrstuden-fixsa-base-1:1.19
	netbsd-4-0:1.19.0.24
	netbsd-4-0-RELEASE:1.19
	cube-autoconf:1.20.0.2
	cube-autoconf-base:1.20
	netbsd-4-0-RC5:1.19
	netbsd-4-0-RC4:1.19
	netbsd-4-0-RC3:1.19
	netbsd-4-0-RC2:1.19
	netbsd-4-0-RC1:1.19
	matt-armv6:1.19.0.22
	matt-armv6-base:1.20
	matt-mips64-base:1.19
	hpcarm-cleanup:1.19.0.20
	hpcarm-cleanup-base:1.20
	netbsd-3-1-1-RELEASE:1.19
	netbsd-3-0-3-RELEASE:1.19
	wrstuden-fixsa:1.19.0.18
	wrstuden-fixsa-base:1.19
	abandoned-netbsd-4-base:1.19
	abandoned-netbsd-4:1.19.0.12
	netbsd-3-1:1.19.0.14
	netbsd-3-1-RELEASE:1.19
	netbsd-3-0-2-RELEASE:1.19
	netbsd-3-1-RC4:1.19
	netbsd-3-1-RC3:1.19
	netbsd-3-1-RC2:1.19
	netbsd-3-1-RC1:1.19
	netbsd-4:1.19.0.16
	netbsd-4-base:1.19
	netbsd-3-0-1-RELEASE:1.19
	netbsd-3-0:1.19.0.10
	netbsd-3-0-RELEASE:1.19
	netbsd-3-0-RC6:1.19
	netbsd-3-0-RC5:1.19
	netbsd-3-0-RC4:1.19
	netbsd-3-0-RC3:1.19
	netbsd-3-0-RC2:1.19
	netbsd-3-0-RC1:1.19
	netbsd-2-0-3-RELEASE:1.19
	netbsd-2-1:1.19.0.8
	netbsd-2-1-RELEASE:1.19
	netbsd-2-1-RC6:1.19
	netbsd-2-1-RC5:1.19
	netbsd-2-1-RC4:1.19
	netbsd-2-1-RC3:1.19
	netbsd-2-1-RC2:1.19
	netbsd-2-1-RC1:1.19
	netbsd-2-0-2-RELEASE:1.19
	netbsd-3:1.19.0.6
	netbsd-3-base:1.19
	netbsd-2-0-1-RELEASE:1.19
	netbsd-2:1.19.0.4
	netbsd-2-base:1.19
	netbsd-2-0-RELEASE:1.19
	netbsd-2-0-RC5:1.19
	netbsd-2-0-RC4:1.19
	netbsd-2-0-RC3:1.19
	netbsd-2-0-RC2:1.19
	netbsd-2-0-RC1:1.19
	netbsd-2-0:1.19.0.2
	netbsd-2-0-base:1.19
	netbsd-1-6-PATCH002-RELEASE:1.17
	netbsd-1-6-PATCH002:1.17
	netbsd-1-6-PATCH002-RC4:1.17
	netbsd-1-6-PATCH002-RC3:1.17
	netbsd-1-6-PATCH002-RC2:1.17
	netbsd-1-6-PATCH002-RC1:1.17
	netbsd-1-6-PATCH001:1.17
	netbsd-1-6-PATCH001-RELEASE:1.17
	netbsd-1-6-PATCH001-RC3:1.17
	netbsd-1-6-PATCH001-RC2:1.17
	netbsd-1-6-PATCH001-RC1:1.17
	fvdl_fs64_base:1.17
	netbsd-1-6-RELEASE:1.17
	netbsd-1-6-RC3:1.17
	netbsd-1-6-RC2:1.17
	netbsd-1-6-RC1:1.17
	netbsd-1-6:1.17.0.12
	netbsd-1-6-base:1.17
	netbsd-1-5-PATCH003:1.17
	netbsd-1-5-PATCH002:1.17
	netbsd-1-5-PATCH001:1.17
	netbsd-1-5-RELEASE:1.17
	netbsd-1-5-BETA2:1.17
	netbsd-1-5-BETA:1.17
	netbsd-1-4-PATCH003:1.17
	netbsd-1-5-ALPHA2:1.17
	netbsd-1-5:1.17.0.10
	netbsd-1-5-base:1.17
	minoura-xpg4dl:1.17.0.8
	minoura-xpg4dl-base:1.17
	netbsd-1-4-PATCH002:1.17
	wrstuden-devbsize-19991221:1.17
	wrstuden-devbsize:1.17.0.6
	wrstuden-devbsize-base:1.17
	comdex-fall-1999:1.17.0.4
	comdex-fall-1999-base:1.17
	netbsd-1-4-PATCH001:1.17
	netbsd-1-4-RELEASE:1.17
	netbsd-1-4:1.17.0.2
	netbsd-1-4-base:1.17
	netbsd-1-3-PATCH003:1.13
	netbsd-1-3-PATCH003-CANDIDATE2:1.13
	netbsd-1-3-PATCH003-CANDIDATE1:1.13
	netbsd-1-3-PATCH003-CANDIDATE0:1.13
	netbsd-1-3-PATCH002:1.13
	netbsd-1-3-PATCH001:1.13
	netbsd-1-3-RELEASE:1.13
	netbsd-1-3-BETA:1.13
	netbsd-1-3:1.13.0.2
	netbsd-1-3-base:1.13
	lite-2:1.1.1.3
	netbsd-1-2-PATCH001:1.9
	netbsd-1-2-RELEASE:1.9
	netbsd-1-2-BETA:1.9
	netbsd-1-2:1.9.0.4
	netbsd-1-2-base:1.9
	netbsd-1-1-PATCH001:1.8
	netbsd-1-1-RELEASE:1.8
	netbsd-1-1:1.8.0.4
	netbsd-1-1-base:1.8
	netbsd-1-0-PATCH06:1.8
	netbsd-1-0-PATCH05:1.8
	netbsd-1-0-PATCH04:1.8
	netbsd-1-0-PATCH03:1.8
	netbsd-1-0-PATCH02:1.8
	netbsd-1-0-PATCH1:1.8
	netbsd-1-0-PATCH0:1.8
	netbsd-1-0-RELEASE:1.8
	netbsd-1-0:1.8.0.2
	netbsd-1-0-base:1.8
	Lite-1:1.1.1.2
	CSRG:1.1.1
	netbsd-0-9-RELEASE:1.2
	netbsd-0-9-BETA:1.2
	netbsd-0-9-ALPHA2:1.2
	netbsd-0-9-ALPHA:1.2
	netbsd-0-9:1.2.0.2
	netbsd-0-9-base:1.2
	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.21
date	2014.07.05.19.22.04;	author dholland;	state Exp;
branches;
next	1.20;
commitid	3a5SlnCocjK3UdHx;

1.20
date	2007.11.29.12.35.05;	author mjf;	state Exp;
branches
	1.20.34.1
	1.20.46.1;
next	1.19;

1.19
date	2004.01.11.16.11.52;	author lukem;	state Exp;
branches
	1.19.22.1;
next	1.18;

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

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

1.16
date	99.02.13.02.54.34;	author lukem;	state Exp;
branches;
next	1.15;

1.15
date	98.09.27.17.22.07;	author lukem;	state Exp;
branches;
next	1.14;

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

1.13
date	97.10.17.09.44.39;	author mrg;	state Exp;
branches;
next	1.12;

1.12
date	97.10.13.11.19.54;	author lukem;	state Exp;
branches;
next	1.11;

1.11
date	97.03.24.21.57.03;	author christos;	state Exp;
branches;
next	1.10;

1.10
date	96.10.18.05.54.06;	author thorpej;	state Exp;
branches;
next	1.9;

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

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

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

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

1.5
date	94.02.10.01.54.22;	author cgd;	state Exp;
branches;
next	1.4;

1.4
date	93.09.30.23.31.17;	author jtc;	state Exp;
branches;
next	1.3;

1.3
date	93.07.31.15.32.55;	author mycroft;	state Exp;
branches;
next	1.2;

1.2
date	93.04.09.09.41.01;	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.20.34.1
date	2014.08.20.00.02.29;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.20.46.1
date	2014.08.10.06.53.13;	author tls;	state Exp;
branches;
next	;
commitid	VIodUwUnqWVqBMLx;

1.19.22.1
date	2008.01.09.01.38.47;	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.38;	author cgd;	state Exp;
branches;
next	1.1.1.3;

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


desc
@@


1.21
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.20 2007/11/29 12:35:05 mjf Exp $
#	from: @@(#)Makefile	8.2 (Berkeley) 5/10/94

.include <bsd.own.mk>

# The following modules do not build/install:
# 10.named, 13.amd

# Missing from 4.4BSD-Lite:
# 14.uucpimpl 15.uucpnet 16.security

SUBDIR=	01.setup config 04.quotas 05.fastfs 06.nfs 17.password 18.net
.if exists(03.fsck_ffs)
SUBDIR+= 03.fsck_ffs
.endif
.if exists(07.lpd)
SUBDIR+= 07.lpd
.endif
.if exists(08.sendmailop)
SUBDIR+= 08.sendmailop
.endif
.if exists(09.sendmail)
SUBDIR+= 09.sendmail
.endif
#SUBDIR=	01.setup 02.config 03.fsck 04.quotas 05.fastfs 06.nfs 07.lpd \
#	08.sendmailop 09.sendmail 14.uucpimpl \
#	15.uucpnet 16.security 17.password 18.net 19.perl

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

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


1.20
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.19 2004/01/11 16:11:52 lukem Exp $
a8 3
# Missing:
# 02.config

d12 1
a12 5
BINDIR=	/usr/share/doc/smm
.if ${MKDOC} != "no"
FILES=	00.contents Makefile Title
.endif
SUBDIR=	01.setup 04.quotas 05.fastfs 06.nfs 17.password 18.net
d29 5
a33 5
Title.ps: ${FILES}
	${TOOL_ROFF_PS} -ms Title > ${.TARGET}

contents.ps: ${FILES}
	${TOOL_ROFF_PS} -ms 00.contents > ${.TARGET}
d35 1
a35 1
.include <bsd.prog.mk>
@


1.20.34.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d9 3
d15 5
a19 1
SUBDIR=	01.setup config 04.quotas 05.fastfs 06.nfs 17.password 18.net
d36 5
a40 5
SECTION=smm
SUBARTICLES=title contents
SRCS.title=Title
SRCS.contents=00.contents
MACROS=-ms
d42 1
a42 1
.include <bsd.doc.mk>
@


1.20.46.1
log
@Rebase.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2014/07/05 19:22:04 dholland Exp $
d9 3
d15 5
a19 1
SUBDIR=	01.setup config 04.quotas 05.fastfs 06.nfs 17.password 18.net
d36 5
a40 5
SECTION=smm
SUBARTICLES=title contents
SRCS.title=Title
SRCS.contents=00.contents
MACROS=-ms
d42 1
a42 1
.include <bsd.doc.mk>
@


1.19
log
@check MKDOC instead of MKSHARE
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 2003/07/10 10:34:31 lukem Exp $
d13 1
a13 1
# 14.uucpimpl 15.uucpnet 16.security 17.password
d19 1
a19 1
SUBDIR=	01.setup 04.quotas 05.fastfs 06.nfs 18.net
@


1.19.22.1
log
@sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD$
d13 1
a13 1
# 14.uucpimpl 15.uucpnet 16.security
d19 1
a19 1
SUBDIR=	01.setup 04.quotas 05.fastfs 06.nfs 17.password 18.net
@


1.18
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.17 1999/02/14 09:47:46 lukem Exp $
d16 1
a16 1
.if ${MKSHARE} != "no"
@


1.17
log
@yet *more* bsd.own.mk stuff i missed... :(
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 1999/02/13 02:54:34 lukem Exp $
d37 1
a37 1
	groff -ms Title > ${.TARGET}
d40 1
a40 1
	groff -ms 00.contents > ${.TARGET}
@


1.16
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.15 1998/09/27 17:22:07 lukem Exp $
d3 2
@


1.15
log
@don't install in /usr/share if NOSHARE is defined
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 1997/12/21 16:12:03 christos Exp $
d14 1
a14 1
.if !defined(NOSHARE)
@


1.14
log
@Timed and timedops are in /usr/src/usr.sbin/timed/SMM.doc, not missing.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1997/10/17 09:44:39 mrg Exp $
d14 1
d16 1
@


1.13
log
@merge lite-2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 1997/10/13 11:19:54 lukem Exp $
d8 1
a8 1
# 02.config 11.timedop 12.timed
d29 1
a29 1
#	08.sendmailop 09.sendmail 11.timedop 12.timed 14.uucpimpl \
@


1.12
log
@rcsid fascism
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	8.1 (Berkeley) 6/10/93
#	$NetBSD: Makefile,v 1.11 1997/03/24 21:57:03 christos Exp $
d28 3
d33 1
a33 1
	groff Title > ${.TARGET}
@


1.11
log
@- Makefile cleanups
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.10 1996/10/18 05:54:06 thorpej Exp $
@


1.10
log
@Use ${INSTALL}.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.1.1.15 1996/07/31 22:09:15 thorpej Exp $
d35 1
a35 4
beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FILES} \
	    ${DESTDIR}${BINDIR}

@


1.9
log
@SMM '03.fsck' has been renamed '03.fsck_ffs'
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.8 1994/06/25 05:49:37 cgd Exp $
d36 1
a36 1
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${FILES} \
@


1.8
log
@slight mod to the way in-source docs are handled
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.7 1994/06/19 02:17:46 cgd Exp $
d16 2
a17 2
.if exists(03.fsck)
SUBDIR+= 03.fsck
@


1.7
log
@make it work
@
text
@d2 1
a2 1
#	$Id$
d15 12
a26 8
.ifnmake install
SUBDIR=	01.setup 03.fsck 04.quotas 05.fastfs 06.nfs 07.lpd \
	08.sendmailop 09.sendmail 18.net
.else
TOP=	../../..
SUBDIR=	01.setup ${TOP}/sbin/fsck/SMM.doc 04.quotas 05.fastfs 06.nfs \
	${TOP}/usr.sbin/lpr/SMM.doc ${TOP}/usr.sbin/sendmail/doc/op \
	${TOP}/usr.sbin/sendmail/doc/intro 18.net
@


1.6
log
@clean up import
@
text
@d1 2
a2 1
#	@@(#)Makefile	8.1 (Berkeley) 6/10/93
d7 6
d15 9
a23 3
SUBDIR=	01.setup 02.config 03.fsck 04.quotas 05.fastfs 06.nfs 07.lpd \
	08.sendmailop 09.sendmail 11.timedop 12.timed 14.uucpimpl \
	15.uucpnet 16.security 17.password 18.net
a29 6

.if	${MACHINE} == "tahoe"
SUBDIR+=01.setup
.elif	${MACHINE} == "vax"
SUBDIR+=01.setup
.endif
@


1.5
log
@kill bogus install -d's, and clean slightly
@
text
@d1 4
a4 2
#	from: @@(#)Makefile	5.2.1.2 (Berkeley) 5/7/91
#	$Id: Makefile,v 1.4 1993/09/30 23:31:17 jtc Exp $
a5 2
# Missing: 03.kdebug 09.uucpimpl 12.uchanges 13.kchanges 17.security
#	   18.password 19.porttour 21.uucpnet
d8 9
a16 4
SUBDIR=	02.config 04.quotas 05.fsck 06.lpd 07.sendmailop \
	08.timedop 10.newsop 11.named \
	14.fastfs 15.net 16.sendmail \
	20.termdesc 22.timed
d24 1
a24 1
realinstall:
@


1.4
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.3 1993/07/31 15:32:55 mycroft Exp $
a17 3

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


1.3
log
@Add RCS indentifiers.
@
text
@d2 1
a2 1
#	$Id: $
d20 3
a22 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.2
log
@make sure directory to install stuff exists before installing
@
text
@d1 2
a2 1
#	@@(#)Makefile	5.2.1.2 (Berkeley) 5/7/91
@


1.1
log
@Initial revision
@
text
@d19 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.1 (Berkeley) 6/10/93

# The following modules do not build/install:
# 10.named, 13.amd
d3 2
d7 4
a10 9
SUBDIR=	01.setup 02.config 03.fsck 04.quotas 05.fastfs 06.nfs 07.lpd \
	08.sendmailop 09.sendmail 11.timedop 12.timed 14.uucpimpl \
	15.uucpnet 16.security 17.password 18.net

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.2 (Berkeley) 5/10/94
d7 1
a7 1
FILES=	Makefile Title
d10 1
a10 1
	15.uucpnet 16.security 17.password 18.net 19.perl
d13 10
a22 1
	groff -ms Title > ${.TARGET}
@
