man.conf revision 1.25.6.2 1 # $NetBSD: man.conf,v 1.25.6.2 2012/10/30 18:48:58 yamt 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-9ln] /usr/bin/mandoc %s
20 _build .[1-9ln].Z /usr/bin/zcat %s | /usr/bin/mandoc
21 _build .[1-9ln].bz2 /usr/bin/bzcat %s | /usr/bin/mandoc
22 _build .[1-9ln].gz /usr/bin/zcat %s | /usr/bin/mandoc
23 _build .[1-9ln].xz /usr/bin/xzcat %s | /usr/bin/mandoc
24 _build .tbl /usr/bin/mandoc %s
25 _build .tbl.Z /usr/bin/zcat %s | /usr/bin/mandoc
26 _build .tbl.bz2 /usr/bin/bzcat %s | /usr/bin/mandoc
27 _build .tbl.gz /usr/bin/zcat %s | /usr/bin/mandoc
28 _build .tbl.xz /usr/bin/xzcat %s | /usr/bin/mandoc
29
30 _build .me /usr/bin/nroff -msafer -me %s 2>/dev/null | cat -s
31
32 _crunch .Z /usr/bin/zcat > %s
33 _crunch .bz /usr/bin/bzcat > %s
34 _crunch .gz /usr/bin/zcat > %s
35 _crunch .xz /usr/bin/xzcat > %s
36
37 # Sections and their directories.
38 # All paths ending in '/' are the equivalent of entries specifying that
39 # directory with all of the subdirectories listed for the keyword _subdir.
40
41 # default
42 _default /usr/{share,X11R7,X11R6,pkg,local}/man/
43
44 # Other sections that represent complete man subdirectories.
45 X11R7 /usr/X11R7/man/
46 X11R6 /usr/X11R6/man/
47 packages /usr/pkg/man/
48 local /usr/local/man/
49
50 # Specific section/directory combinations.
51 1 {cat,man}1
52 2 {cat,man}2
53 3 {cat,man}3
54 3F {cat,man}3f
55 3f {cat,man}3f
56 4 {cat,man}4
57 5 {cat,man}5
58 6 {cat,man}6
59 7 {cat,man}7
60 8 {cat,man}8
61 9 {cat,man}9
62 l {cat,man}l
63 n {cat,man}n
64
65 # machine classes per machine
66 _i386 x86
67 _amd64 x86
68 _sparc64 sparc
69