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