head	1.34;
access;
symbols
	netbsd-11-0-RC4:1.34
	netbsd-11-0-RC3:1.34
	netbsd-11-0-RC2:1.34
	netbsd-11-0-RC1:1.34
	perseant-exfatfs-base-20250801:1.34
	netbsd-11:1.34.0.30
	netbsd-11-base:1.34
	netbsd-10-1-RELEASE:1.34
	perseant-exfatfs-base-20240630:1.34
	perseant-exfatfs:1.34.0.28
	perseant-exfatfs-base:1.34
	netbsd-8-3-RELEASE:1.34
	netbsd-9-4-RELEASE:1.34
	netbsd-10-0-RELEASE:1.34
	netbsd-10-0-RC6:1.34
	netbsd-10-0-RC5:1.34
	netbsd-10-0-RC4:1.34
	netbsd-10-0-RC3:1.34
	netbsd-10-0-RC2:1.34
	netbsd-10-0-RC1:1.34
	netbsd-10:1.34.0.26
	netbsd-10-base:1.34
	netbsd-9-3-RELEASE:1.34
	cjep_sun2x-base1:1.34
	cjep_sun2x:1.34.0.24
	cjep_sun2x-base:1.34
	cjep_staticlib_x-base1:1.34
	netbsd-9-2-RELEASE:1.34
	cjep_staticlib_x:1.34.0.22
	cjep_staticlib_x-base:1.34
	netbsd-9-1-RELEASE:1.34
	phil-wifi-20200421:1.34
	phil-wifi-20200411:1.34
	is-mlppp:1.34.0.20
	is-mlppp-base:1.34
	phil-wifi-20200406:1.34
	netbsd-8-2-RELEASE:1.34
	netbsd-9-0-RELEASE:1.34
	netbsd-9-0-RC2:1.34
	netbsd-9-0-RC1:1.34
	phil-wifi-20191119:1.34
	netbsd-9:1.34.0.18
	netbsd-9-base:1.34
	phil-wifi-20190609:1.34
	netbsd-8-1-RELEASE:1.34
	netbsd-8-1-RC1:1.34
	pgoyette-compat-merge-20190127:1.34
	pgoyette-compat-20190127:1.34
	pgoyette-compat-20190118:1.34
	pgoyette-compat-1226:1.34
	pgoyette-compat-1126:1.34
	pgoyette-compat-1020:1.34
	pgoyette-compat-0930:1.34
	pgoyette-compat-0906:1.34
	netbsd-7-2-RELEASE:1.32
	pgoyette-compat-0728:1.34
	netbsd-8-0-RELEASE:1.34
	phil-wifi:1.34.0.16
	phil-wifi-base:1.34
	pgoyette-compat-0625:1.34
	netbsd-8-0-RC2:1.34
	pgoyette-compat-0521:1.34
	pgoyette-compat-0502:1.34
	pgoyette-compat-0422:1.34
	netbsd-8-0-RC1:1.34
	pgoyette-compat-0415:1.34
	pgoyette-compat-0407:1.34
	pgoyette-compat-0330:1.34
	pgoyette-compat-0322:1.34
	pgoyette-compat-0315:1.34
	netbsd-7-1-2-RELEASE:1.32
	pgoyette-compat:1.34.0.14
	pgoyette-compat-base:1.34
	netbsd-7-1-1-RELEASE:1.32
	matt-nb8-mediatek:1.34.0.12
	matt-nb8-mediatek-base:1.34
	perseant-stdc-iso10646:1.34.0.10
	perseant-stdc-iso10646-base:1.34
	netbsd-8:1.34.0.8
	netbsd-8-base:1.34
	prg-localcount2-base3:1.34
	prg-localcount2-base2:1.34
	prg-localcount2-base1:1.34
	prg-localcount2:1.34.0.6
	prg-localcount2-base:1.34
	pgoyette-localcount-20170426:1.34
	bouyer-socketcan-base1:1.34
	pgoyette-localcount-20170320:1.34
	netbsd-7-1:1.32.0.10
	netbsd-7-1-RELEASE:1.32
	netbsd-7-1-RC2:1.32
	netbsd-7-nhusb-base-20170116:1.32
	bouyer-socketcan:1.34.0.4
	bouyer-socketcan-base:1.34
	pgoyette-localcount-20170107:1.34
	netbsd-7-1-RC1:1.32
	pgoyette-localcount-20161104:1.34
	netbsd-7-0-2-RELEASE:1.32
	localcount-20160914:1.34
	netbsd-7-nhusb:1.32.0.8
	netbsd-7-nhusb-base:1.32
	pgoyette-localcount-20160806:1.34
	pgoyette-localcount-20160726:1.34
	pgoyette-localcount:1.34.0.2
	pgoyette-localcount-base:1.34
	netbsd-7-0-1-RELEASE:1.32
	netbsd-7-0:1.32.0.6
	netbsd-7-0-RELEASE:1.32
	netbsd-7-0-RC3:1.32
	netbsd-7-0-RC2:1.32
	netbsd-7-0-RC1:1.32
	netbsd-5-2-3-RELEASE:1.29
	netbsd-5-1-5-RELEASE:1.29
	netbsd-6-0-6-RELEASE:1.30
	netbsd-6-1-5-RELEASE:1.30
	netbsd-7:1.32.0.4
	netbsd-7-base:1.32
	yamt-pagecache-base9:1.32
	yamt-pagecache-tag8:1.29.56.1
	netbsd-6-1-4-RELEASE:1.30
	netbsd-6-0-5-RELEASE:1.30
	tls-earlyentropy:1.32.0.2
	tls-earlyentropy-base:1.32
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.32
	riastradh-drm2-base3:1.32
	netbsd-6-1-3-RELEASE:1.30
	netbsd-6-0-4-RELEASE:1.30
	netbsd-5-2-2-RELEASE:1.29
	netbsd-5-1-4-RELEASE:1.29
	netbsd-6-1-2-RELEASE:1.30
	netbsd-6-0-3-RELEASE:1.30
	netbsd-5-2-1-RELEASE:1.29
	netbsd-5-1-3-RELEASE:1.29
	netbsd-6-1-1-RELEASE:1.30
	riastradh-drm2-base2:1.30
	riastradh-drm2-base1:1.30
	riastradh-drm2:1.30.0.10
	riastradh-drm2-base:1.30
	netbsd-6-1:1.30.0.14
	netbsd-6-0-2-RELEASE:1.30
	netbsd-6-1-RELEASE:1.30
	netbsd-6-1-RC4:1.30
	netbsd-6-1-RC3:1.30
	agc-symver:1.30.0.12
	agc-symver-base:1.30
	netbsd-6-1-RC2:1.30
	netbsd-6-1-RC1:1.30
	yamt-pagecache-base8:1.30
	netbsd-5-2:1.29.0.58
	netbsd-6-0-1-RELEASE:1.30
	yamt-pagecache-base7:1.30
	netbsd-5-2-RELEASE:1.29
	netbsd-5-2-RC1:1.29
	matt-nb6-plus-nbase:1.30
	yamt-pagecache-base6:1.30
	netbsd-6-0:1.30.0.8
	netbsd-6-0-RELEASE:1.30
	netbsd-6-0-RC2:1.30
	tls-maxphys:1.30.0.6
	tls-maxphys-base:1.32
	matt-nb6-plus:1.30.0.4
	matt-nb6-plus-base:1.30
	netbsd-6-0-RC1:1.30
	yamt-pagecache-base5:1.30
	yamt-pagecache-base4:1.30
	netbsd-6:1.30.0.2
	netbsd-6-base:1.30
	netbsd-5-1-2-RELEASE:1.29
	netbsd-5-1-1-RELEASE:1.29
	yamt-pagecache-base3:1.29
	yamt-pagecache-base2:1.29
	yamt-pagecache:1.29.0.56
	yamt-pagecache-base:1.29
	cherry-xenmp:1.29.0.54
	cherry-xenmp-base:1.29
	bouyer-quota2-nbase:1.29
	bouyer-quota2:1.29.0.52
	bouyer-quota2-base:1.29
	matt-mips64-premerge-20101231:1.29
	matt-nb5-mips64-premerge-20101231:1.29
	matt-nb5-pq3:1.29.0.50
	matt-nb5-pq3-base:1.29
	netbsd-5-1:1.29.0.48
	netbsd-5-1-RELEASE:1.29
	netbsd-5-1-RC4:1.29
	matt-nb5-mips64-k15:1.29
	netbsd-5-1-RC3:1.29
	netbsd-5-1-RC2:1.29
	netbsd-5-1-RC1:1.29
	netbsd-5-0-2-RELEASE:1.29
	matt-nb5-mips64-premerge-20091211:1.29
	matt-premerge-20091211:1.29
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.29
	matt-nb4-mips64-k7-u2a-k9b:1.29
	matt-nb5-mips64-u1-k1-k5:1.29
	matt-nb5-mips64:1.29.0.46
	netbsd-5-0-1-RELEASE:1.29
	jym-xensuspend-nbase:1.29
	netbsd-5-0:1.29.0.44
	netbsd-5-0-RELEASE:1.29
	netbsd-5-0-RC4:1.29
	netbsd-5-0-RC3:1.29
	netbsd-5-0-RC2:1.29
	jym-xensuspend:1.29.0.42
	jym-xensuspend-base:1.29
	netbsd-5-0-RC1:1.29
	netbsd-5:1.29.0.40
	netbsd-5-base:1.29
	matt-mips64-base2:1.29
	matt-mips64:1.29.0.38
	netbsd-4-0-1-RELEASE:1.29
	wrstuden-revivesa-base-3:1.29
	wrstuden-revivesa-base-2:1.29
	wrstuden-fixsa-newbase:1.29
	wrstuden-revivesa-base-1:1.29
	yamt-pf42-base4:1.29
	yamt-pf42-base3:1.29
	hpcarm-cleanup-nbase:1.29
	yamt-pf42-baseX:1.29
	yamt-pf42-base2:1.29
	wrstuden-revivesa:1.29.0.36
	wrstuden-revivesa-base:1.29
	yamt-pf42:1.29.0.34
	yamt-pf42-base:1.29
	mjf-devfs2:1.29.0.32
	mjf-devfs2-base:1.29
	keiichi-mipv6-nbase:1.29
	keiichi-mipv6:1.29.0.30
	keiichi-mipv6-base:1.29
	matt-armv6-nbase:1.29
	matt-armv6-prevmlocking:1.29
	wrstuden-fixsa-base-1:1.29
	netbsd-4-0:1.29.0.28
	netbsd-4-0-RELEASE:1.29
	cube-autoconf:1.29.0.26
	cube-autoconf-base:1.29
	netbsd-4-0-RC5:1.29
	netbsd-4-0-RC4:1.29
	netbsd-4-0-RC3:1.29
	netbsd-4-0-RC2:1.29
	netbsd-4-0-RC1:1.29
	matt-armv6:1.29.0.24
	matt-armv6-base:1.29
	matt-mips64-base:1.29
	hpcarm-cleanup:1.29.0.22
	hpcarm-cleanup-base:1.29
	netbsd-3-1-1-RELEASE:1.29
	netbsd-3-0-3-RELEASE:1.29
	wrstuden-fixsa:1.29.0.20
	wrstuden-fixsa-base:1.29
	abandoned-netbsd-4-base:1.29
	abandoned-netbsd-4:1.29.0.14
	netbsd-3-1:1.29.0.16
	netbsd-3-1-RELEASE:1.29
	netbsd-3-0-2-RELEASE:1.29
	netbsd-3-1-RC4:1.29
	netbsd-3-1-RC3:1.29
	netbsd-3-1-RC2:1.29
	netbsd-3-1-RC1:1.29
	netbsd-4:1.29.0.18
	netbsd-4-base:1.29
	chap-midi-nbase:1.29
	netbsd-3-0-1-RELEASE:1.29
	chap-midi:1.29.0.12
	chap-midi-base:1.29
	netbsd-3-0:1.29.0.10
	netbsd-3-0-RELEASE:1.29
	netbsd-3-0-RC6:1.29
	netbsd-3-0-RC5:1.29
	netbsd-3-0-RC4:1.29
	netbsd-3-0-RC3:1.29
	netbsd-3-0-RC2:1.29
	netbsd-3-0-RC1:1.29
	netbsd-2-0-3-RELEASE:1.29
	netbsd-2-1:1.29.0.8
	netbsd-2-1-RELEASE:1.29
	netbsd-2-1-RC6:1.29
	netbsd-2-1-RC5:1.29
	netbsd-2-1-RC4:1.29
	netbsd-2-1-RC3:1.29
	netbsd-2-1-RC2:1.29
	netbsd-2-1-RC1:1.29
	netbsd-2-0-2-RELEASE:1.29
	netbsd-3:1.29.0.6
	netbsd-3-base:1.29
	netbsd-2-0-1-RELEASE:1.29
	netbsd-2:1.29.0.4
	netbsd-2-base:1.29
	netbsd-2-0-RELEASE:1.29
	netbsd-2-0-RC5:1.29
	netbsd-2-0-RC4:1.29
	netbsd-2-0-RC3:1.29
	netbsd-2-0-RC2:1.29
	netbsd-2-0-RC1:1.29
	netbsd-2-0:1.29.0.2
	netbsd-2-0-base:1.29
	netbsd-1-6-PATCH002-RELEASE:1.21.2.2
	netbsd-1-6-PATCH002:1.21.2.2
	netbsd-1-6-PATCH002-RC4:1.21.2.2
	netbsd-1-6-PATCH002-RC3:1.21.2.2
	netbsd-1-6-PATCH002-RC2:1.21.2.2
	netbsd-1-6-PATCH002-RC1:1.21.2.2
	netbsd-1-6-PATCH001:1.21.2.2
	netbsd-1-6-PATCH001-RELEASE:1.21.2.2
	netbsd-1-6-PATCH001-RC3:1.21.2.2
	netbsd-1-6-PATCH001-RC2:1.21.2.2
	netbsd-1-6-PATCH001-RC1:1.21.2.2
	fvdl_fs64_base:1.24
	netbsd-1-6-RELEASE:1.21.2.2
	netbsd-1-6-RC3:1.21.2.2
	netbsd-1-6-RC2:1.21.2.2
	netbsd-1-6-RC1:1.21.2.2
	netbsd-1-6:1.21.0.2
	netbsd-1-6-base:1.21
	netbsd-1-5-PATCH003:1.20
	netbsd-1-5-PATCH002:1.20
	netbsd-1-5-PATCH001:1.20
	netbsd-1-5-RELEASE:1.20
	netbsd-1-5-BETA2:1.20
	netbsd-1-5-BETA:1.20
	netbsd-1-4-PATCH003:1.19
	netbsd-1-5-ALPHA2:1.20
	netbsd-1-5:1.20.0.6
	netbsd-1-5-base:1.20
	minoura-xpg4dl:1.20.0.4
	minoura-xpg4dl-base:1.20
	netbsd-1-4-PATCH002:1.19
	wrstuden-devbsize-19991221:1.20
	wrstuden-devbsize:1.19.0.4
	wrstuden-devbsize-base:1.20
	comdex-fall-1999:1.20.0.2
	comdex-fall-1999-base:1.20
	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.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.2
	CSRG:1.1.1
	netbsd-1-2-PATCH001:1.7
	netbsd-1-2-RELEASE:1.7
	netbsd-1-2-BETA:1.7
	netbsd-1-2:1.7.0.4
	netbsd-1-2-base:1.7
	netbsd-1-1-PATCH001:1.6
	netbsd-1-1-RELEASE:1.6
	netbsd-1-1:1.6.0.4
	netbsd-1-1-base:1.6
	netbsd-1-0-PATCH06:1.6
	netbsd-1-0-PATCH05:1.6
	netbsd-1-0-PATCH04:1.6
	netbsd-1-0-PATCH03:1.6
	netbsd-1-0-PATCH02:1.6
	netbsd-1-0-PATCH1:1.6
	netbsd-1-0-PATCH0:1.6
	netbsd-1-0-RELEASE:1.6
	netbsd-1-0:1.6.0.2
	netbsd-1-0-base:1.6
	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.3
	netbsd-alpha-1:1.3
	patchkit-0-2-2:1.2
	WFJ-386bsd-01:1.1.1.1
	WFJ-920714:1.1.1;
locks; strict;
comment	@# @;


1.34
date	2014.12.13.14.16.48;	author christos;	state Exp;
branches;
next	1.33;
commitid	XvFm4MMz8vfs2T1y;

1.33
date	2014.11.09.17.39.37;	author pooka;	state Exp;
branches;
next	1.32;
commitid	zEEO5kzkNWfPdxXx;

1.32
date	2014.01.16.01.15.33;	author christos;	state Exp;
branches;
next	1.31;
commitid	eohV5AOa1lR3mhlx;

1.31
date	2013.10.26.08.23.38;	author mbalmer;	state Exp;
branches;
next	1.30;
commitid	OLDoKJpnDAkomMax;

1.30
date	2012.02.07.19.13.31;	author joerg;	state Exp;
branches
	1.30.6.1;
next	1.29;

1.29
date	2004.02.09.07.58.01;	author lukem;	state Exp;
branches
	1.29.56.1;
next	1.28;

1.28
date	2004.02.09.06.52.34;	author lukem;	state Exp;
branches;
next	1.27;

1.27
date	2003.10.14.14.59.03;	author wiz;	state Exp;
branches;
next	1.26;

1.26
date	2003.07.18.08.26.04;	author lukem;	state Exp;
branches;
next	1.25;

1.25
date	2003.07.10.10.34.35;	author lukem;	state Exp;
branches;
next	1.24;

1.24
date	2002.12.23.06.52.50;	author lukem;	state Exp;
branches;
next	1.23;

1.23
date	2002.06.15.01.46.16;	author matt;	state Exp;
branches;
next	1.22;

1.22
date	2002.06.10.18.47.12;	author mason;	state Exp;
branches;
next	1.21;

1.21
date	2001.11.24.21.39.20;	author perry;	state Exp;
branches
	1.21.2.1;
next	1.20;

1.20
date	99.09.25.21.18.02;	author tron;	state Exp;
branches;
next	1.19;

1.19
date	99.02.26.11.03.08;	author ross;	state Exp;
branches
	1.19.4.1;
next	1.18;

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

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

1.16
date	98.05.21.11.40.11;	author tv;	state Exp;
branches;
next	1.15;

1.15
date	98.04.22.07.14.30;	author ross;	state Exp;
branches;
next	1.14;

1.14
date	98.03.21.23.47.47;	author tron;	state Exp;
branches;
next	1.13;

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

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

1.11
date	97.05.09.14.31.24;	author mycroft;	state Exp;
branches;
next	1.10;

1.10
date	97.03.27.10.45.57;	author mycroft;	state Exp;
branches;
next	1.9;

1.9
date	97.03.24.21.57.06;	author christos;	state Exp;
branches;
next	1.8;

1.8
date	96.10.18.05.55.26;	author thorpej;	state Exp;
branches;
next	1.7;

1.7
date	95.11.25.21.26.28;	author perry;	state Exp;
branches;
next	1.6;

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

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

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

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

1.2
date	93.03.21.18.04.42;	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.30.6.1
date	2014.08.20.00.02.34;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.29.56.1
date	2012.04.17.00.05.45;	author yamt;	state Exp;
branches;
next	1.29.56.2;

1.29.56.2
date	2014.05.22.11.37.49;	author yamt;	state Exp;
branches;
next	;
commitid	P3Rlj4go6xHqKwBx;

1.21.2.1
date	2002.06.11.16.02.01;	author lukem;	state Exp;
branches;
next	1.21.2.2;

1.21.2.2
date	2002.06.18.13.26.40;	author lukem;	state Exp;
branches;
next	;

1.19.4.1
date	99.12.27.18.30.36;	author wrstuden;	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.04.16.11.22.04;	author mrg;	state Exp;
branches;
next	;


desc
@@


1.34
log
@Fix MKRUMP = no build
@
text
@#	$NetBSD: Makefile,v 1.33 2014/11/09 17:39:37 pooka Exp $
#	from: @@(#)Makefile	8.2 (Berkeley) 4/16/94

.include <bsd.own.mk>

.if ${MKSHARE} != "no"
SUBDIR=	man0 man1 man2 man3 man3lua man4 man5 man6 man7 man8 man9 man9lua

.if ${MKRUMP} != "no"
SUBDIR+=${.CURDIR}/../../sys/rump/share/man
.endif

WHATISDBDIR?=	/usr/share/man

.if ${MKMAKEMANDB} == "no"
makedb:
	${TOOL_MAKEWHATIS} ${DESTDIR}${WHATISDBDIR}
.if ${MKUNPRIVED} != "no"
	echo ".${WHATISDBDIR}/whatis.db type=file mode=0444 uname=${BINOWN} gname=${BINGRP}" \
	    | ${METALOG.add}
.endif
.else
makedb:
.endif

.else
makedb:
.endif

.include <bsd.subdir.mk>
@


1.33
log
@Move rump kernel man pages from various sources to sys/rump

namely:
  * src/lib is used only when building for POSIX'y platforms, but
    the man pages have their use for all platforms
  * rumpuser.3 is a function of the rump kernel, not one of the of
    the POSIX'y implementation hosted in src/lib/librumpuser

no functional change
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.32 2014/01/16 01:15:33 christos Exp $
d8 2
d11 1
@


1.32
log
@eliminate use of bsd.sys.mk from Makefiles
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.31 2013/10/26 08:23:38 mbalmer Exp $
d8 1
@


1.31
log
@build and install intro(3lua) and intro(9lua)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.30 2012/02/07 19:13:31 joerg Exp $
a26 1
.include <bsd.sys.mk>
@


1.30
log
@Import the new apropos/whatis.

This code has been developed by Abhinav Upadhyay as part of Google's Summer
of Code 2011. It uses libmandoc to parse man pages and builds a Full
Text Index in a SQLite database. The combination of indexing the full
manual page, filtering out stop words and ranking individual matches
based on the section gives a much improved user experience.

The old makewhatis and friends are kept under MKMAKEMANDB=no for now.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2004/02/09 07:58:01 lukem Exp $
d7 1
a7 1
SUBDIR=	man0 man1 man2 man3 man4 man5 man6 man7 man8 man9
@


1.30.6.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d7 1
a7 1
SUBDIR=	man0 man1 man2 man3 man3lua man4 man5 man6 man7 man8 man9 man9lua
d27 1
@


1.29
log
@Modify "makedb" so that WHATISDBDIR be used to specify the directory
to operate in (defaults to /usr/share/man)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2004/02/09 06:52:34 lukem Exp $
d11 1
d22 4
@


1.29.56.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD$
a10 1
.if ${MKMAKEMANDB} == "no"
a20 4
.else
makedb:
.endif

@


1.29.56.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29.56.1 2012/04/17 00:05:45 yamt Exp $
d7 1
a7 1
SUBDIR=	man0 man1 man2 man3 man3lua man4 man5 man6 man7 man8 man9 man9lua
d27 1
@


1.28
log
@use  uname=${BINOWN} gname=${BINGRP}  instead of  uname=root gname=wheel
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2003/10/14 14:59:03 wiz Exp $
d9 2
d12 1
a12 1
	${TOOL_MAKEWHATIS} ${DESTDIR}/usr/share/man
d14 1
a14 1
	echo "./usr/share/man/whatis.db type=file mode=0444 uname=${BINOWN} gname=${BINGRP}" \
@


1.27
log
@Move siginfo(5) and ucontext(5) to siginfo(2) and ucontext(2) resp.,
and fix references.
Per a discussion on source-changes around Sep 14 2003.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2003/07/18 08:26:04 lukem Exp $
d12 1
a12 1
	echo "./usr/share/man/whatis.db type=file mode=0444 uname=root gname=wheel" \
@


1.26
log
@Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined.
Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no"

Add MKUPDATE; if not no has the same semantics as if UPDATE was defined.
Replace defined(UPDATE) tests with ${MKUPDATE} != "no"

Improve documentation for these and other make flags.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2003/07/10 10:34:35 lukem Exp $
d7 1
a7 1
SUBDIR=	man0 man1 man3 man4 man5 man6 man7 man8 man9
@


1.25
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.24 2002/12/23 06:52:50 lukem Exp $
d11 1
a11 1
.if defined(UNPRIVED)
@


1.24
log
@Rework METALOG manipulation:
- add '-D ${DESTDIR}' to INSTPRIV, so install(8) removes the leading
  ${DESTDIR} from the metalogged path
- provide ${METADB.add} variable (for "${CAT} -l >> ${METALOG}"), to make
  it easier to replace manual metalog manipulation in the future.
- with manual metalog additions, don't add the leading ${DESTDIR} in the path
- in maketars, use "mtree -C ..." instead of
  "mtree -D ... | sed -e 's,\(.*\) \(\..*\),\2 \1,";

Benefits:
- maketars "Parsing METALOG" step speeds up from 29 seconds to 1.2 seconds
  on a P3-600.
  (This also benefits "make installworld" at the top level.)
- ${DESTDIR}/METALOG is easier to read without the leading "${DESTDIR}"
  on all the pathnames, and it's smaller as well.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2002/06/15 01:46:16 matt Exp $
a7 1
MAKEWHATIS?=	/usr/libexec/makewhatis
d10 1
a10 1
	${MAKEWHATIS} ${DESTDIR}/usr/share/man
@


1.23
log
@Include <bsd.sys.mk> so CAT is defined in the UNPRIVED= USETOOLS=no case.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2002/06/10 18:47:12 mason Exp $
d13 2
a14 2
	echo "${DESTDIR}/usr/share/man/whatis.db type=file mode=0444 uname=root gname=wheel" | \
		sed -e 's|^/|./|g' -e 's|//|/|g' | ${CAT} -l >> ${METALOG}
@


1.22
log
@Use the new cat(1) locking functionality - should solve PR toolchain/16963.
If all goes well, will submit a batch of pull-up requests for netbsd-1-6
presently to bring these additions and fixes into 1.6.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2001/11/24 21:39:20 perry Exp $
d21 1
@


1.21
log
@if UNPRIVED, generate (synthetically) a metadata log for whatis.db
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 1999/09/25 21:18:02 tron Exp $
d14 1
a14 1
		sed -e 's|^/|./|g' -e 's|//|/|g' >>${METALOG}
@


1.21.2.1
log
@Pull up revision 1.22 (requested by mason in ticket #248):
Use the new cat(1) locking functionality - should solve PR toolchain/16963.
If all goes well, will submit a batch of pull-up requests for netbsd-1-6
presently to bring these additions and fixes into 1.6.
@
text
@d1 1
a1 1
#	$NetBSD$
d14 1
a14 1
		sed -e 's|^/|./|g' -e 's|//|/|g' | ${CAT} -l >> ${METALOG}
@


1.21.2.2
log
@Pull up revision 1.23 (requested by matt in ticket #283):
Include <bsd.sys.mk> so CAT is defined in the UNPRIVED= USETOOLS=no case.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21.2.1 2002/06/11 16:02:01 lukem Exp $
a20 1
.include <bsd.sys.mk>
@


1.20
log
@Use new "makewhatis" program to create whatis.db database.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 1999/02/26 11:03:08 ross Exp $
d12 4
@


1.19
log
@Run makewhatis.sh out of the source tree, rather than the makewhatis
out of DESTDIR. Besides eliminating a ordering, this is needed because
the new all-singing-all-dancing domestic/Makefile runs makewhatis for
you .. but it might not be in DESTDIR if only domestic is being installed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 1999/02/13 02:54:36 lukem Exp $
d8 1
a8 1
MAKEWHATIS?=	${.CURDIR}/../../libexec/makewhatis/makewhatis.sh
d11 1
a11 1
	sh ${MAKEWHATIS} ${DESTDIR}/usr/share/man
@


1.19.4.1
log
@Pull up to last week's -current.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 1999/09/25 21:18:02 tron Exp $
d8 1
a8 1
MAKEWHATIS?=	/usr/libexec/makewhatis
d11 1
a11 1
	${MAKEWHATIS} ${DESTDIR}/usr/share/man
@


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:09 lukem Exp $
d8 1
d11 1
a11 1
	${DESTDIR}/usr/libexec/makewhatis ${DESTDIR}/usr/share/man
@


1.17
log
@don't install in /usr/share if NOSHARE is defined
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 1998/05/21 11:40:11 tv Exp $
d4 3
a6 1
.if !defined(NOSHARE)
@


1.16
log
@Don't try to get at ${DESTDIR} inside /usr/libexec/makewhatis; instead,
supply ${DESTDIR} as part of the command line argument in
src/share/man/Makefile, and use that modified $MANPATH to find
makewhatis.sed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 1998/04/22 07:14:30 ross Exp $
d4 1
d9 3
@


1.15
log
@Add David Brownlee's new intro pages, with editing. (PR #534[23])
Also, while here, expand apparently incorrectly .Dd month abbreviations.
(I thought about doing this in tmac/doc-common...heh...that would have
allowed a possible reverse map back to abbreviations.)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 1998/03/21 23:47:47 tron Exp $
d7 1
a7 1
	/usr/libexec/makewhatis /usr/share/man
@


1.14
log
@Let "makewhatis.sh" handle "${DESTDIR}", fixes PR misc/5037.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1997/10/19 12:55:52 mrg Exp $
d4 1
a4 1
SUBDIR=	man0 man1 man3 man4 man5 man7 man8 man9
@


1.13
log
@merge lite-2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 1997/10/13 11:21:19 lukem Exp $
d7 1
a7 1
	/usr/libexec/makewhatis ${DESTDIR}/usr/share/man
@


1.12
log
@rcsid fascism
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	5.9 (Berkeley) 7/1/91
#	$NetBSD: Makefile,v 1.11 1997/05/09 14:31:24 mycroft Exp $
@


1.11
log
@Move makewhatis.sed into man0, and split the Makefile.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.10 1997/03/27 10:45:57 mycroft Exp $
@


1.10
log
@Use bsd.prog.mk, to deal with FILES.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.9 1997/03/24 21:57:06 christos Exp $
d4 1
a4 4
SUBDIR=	man1 man3 man4 man5 man7 man8 man9

FILES=makewhatis.sed man0/COPYRIGHT
FILESDIR=/usr/share/man
d9 1
a9 1
.include <bsd.prog.mk>
@


1.9
log
@- Makefile cleanups
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.8 1996/10/18 05:55:26 thorpej Exp $
d12 1
a12 1
.include <bsd.subdir.mk>
@


1.8
log
@Use ${INSTALL}.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.7 1995/11/25 21:26:28 perry Exp $
d6 2
a7 5
afterinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 makewhatis.sed \
	    ${DESTDIR}/usr/share/man/makewhatis.sed
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 man0/COPYRIGHT \
	    ${DESTDIR}/usr/share/man/COPYRIGHT
@


1.7
log
@Added man9 to SUBDIRs
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.6 1994/02/09 08:00:16 cgd Exp $
d7 1
a7 1
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 makewhatis.sed \
d9 1
a9 1
	install -c -o ${BINOWN} -g ${BINGRP} -m 444 man0/COPYRIGHT \
@


1.6
log
@do makedb in DESTDIR/...
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.5 1994/02/07 05:10:30 cgd Exp $
d4 1
a4 1
SUBDIR=	man1 man3 man4 man5 man7 man8
@


1.5
log
@convert to use makewhatis; eventually will need to use 'catman'
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.4 1993/07/31 15:29:16 mycroft Exp $
d13 1
a13 1
	/usr/libexec/makewhatis
@


1.4
log
@Add RCS indentifiers.
@
text
@d2 1
a2 1
#	$Id: $
d13 1
a13 5
	for file in `find /usr/share/man -type f -name '*.0' -print`; do \
		sed -n -f /usr/share/man/makewhatis.sed $$file; \
	done | sort -u > whatis.db
	install -o ${BINOWN} -g ${BINGRP} -m 444 whatis.db \
	    ${DESTDIR}/usr/share/man
@


1.3
log
@actually do subdirs; they aren't missing!
@
text
@d1 2
a2 1
#	@@(#)Makefile	5.9 (Berkeley) 7/1/91
@


1.2
log
@after 0.2.2 "stable" patches applied
@
text
@d3 1
a3 1
# Missing:  man1 man3 man4 man5 man7 man8
a4 2
SUBDIR=	

@


1.1
log
@Initial revision
@
text
@d3 3
a5 1
SUBDIR=	man1 man3 man4 man5 man7 man8
@


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


1.1.1.2
log
@4.4BSD-Lite2
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.2 (Berkeley) 4/16/94
d3 1
a3 2
SUBDIR=	man1 man3 man3f man4 man5 man7 man8
SEDF= /usr/share/man/makewhatis.sed
d7 3
a9 1
	    ${DESTDIR}${SEDF}
d12 4
a15 6
	find /usr/share/man -type f -name '*.0' -print | \
	while read file; \
	do \
		sed -n -f ${SEDF} $$file; \
	done | col -b | sort -u > /tmp/whatis.db
	install -o ${BINOWN} -g ${BINGRP} -m 444 /tmp/whatis.db \
@
