man.conf revision 1.33
1#	$NetBSD: man.conf,v 1.33 2013/10/25 07:59:55 mbalmer Exp $
2
3# Sheer, raging paranoia...
4_version	BSD.2
5
6# The whatis/apropos database.
7_mandb /var/db/man.db
8
9# Subdirectories for paths ending in '/', IN SEARCH ORDER.
10_subdir		cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat4 man4 cat5 man5 cat7 man7 man3f cat9 man9 catn mann catl manl
11
12# Files typed by suffix and their commands.
13# Note the order, .Z must come after .[1-9].Z, or it will match first.
14_suffix		.0
15_build		.0.Z		/usr/bin/zcat %s
16_build		.0.bz2		/usr/bin/bzcat %s
17_build		.0.gz		/usr/bin/zcat %s
18_build		.0.xz		/usr/bin/xzcat %s
19_build		.[1-9][a-z]*	/usr/bin/mandoc %s
20_build		.[1-9ln]	/usr/bin/mandoc %s
21_build		.[1-9ln].Z	/usr/bin/zcat %s | /usr/bin/mandoc
22_build		.[1-9ln].bz2	/usr/bin/bzcat %s | /usr/bin/mandoc
23_build		.[1-9ln].gz	/usr/bin/zcat %s | /usr/bin/mandoc
24_build		.[1-9ln].xz	/usr/bin/xzcat %s | /usr/bin/mandoc
25_build		.tbl		/usr/bin/mandoc %s
26_build		.tbl.Z		/usr/bin/zcat %s | /usr/bin/mandoc
27_build		.tbl.bz2	/usr/bin/bzcat %s | /usr/bin/mandoc
28_build		.tbl.gz		/usr/bin/zcat %s | /usr/bin/mandoc
29_build		.tbl.xz		/usr/bin/xzcat %s | /usr/bin/mandoc
30
31_build		.me		/usr/bin/nroff -msafer -me %s 2>/dev/null | cat -s
32
33_crunch		.Z		/usr/bin/zcat > %s
34_crunch		.bz2		/usr/bin/bzcat > %s
35_crunch		.gz		/usr/bin/zcat > %s
36_crunch		.xz		/usr/bin/xzcat > %s
37
38# Sections and their directories.
39# All paths ending in '/' are the equivalent of entries specifying that
40# directory with all of the subdirectories listed for the keyword _subdir.
41
42# default
43_default	/usr/{share,X11R7,X11R6,pkg,local}/man/
44
45# Other sections that represent complete man subdirectories.
46X11R7		/usr/X11R7/man/
47X11R6		/usr/X11R6/man/
48packages	/usr/pkg/man/
49local		/usr/local/man/
50
51# Specific section/directory combinations.
521		{cat,man}1
532		{cat,man}2
543		{cat,man}3
553F		{cat,man}3f
563f		{cat,man}3f
574		{cat,man}4
585		{cat,man}5
596		{cat,man}6
607		{cat,man}7
618		{cat,man}8
629		{cat,man}9
63l		{cat,man}l
64n		{cat,man}n
65
66# machine classes per machine
67_i386		x86
68_amd64		x86
69_sparc64	sparc
70