man.conf revision 1.35 1 # $NetBSD: man.conf,v 1.35 2013/12/22 01:18:28 dholland 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 cat3lua man3 man3lua cat4 man4 cat5 man5 cat7 man7 man3f cat9 cat9lua man9 man9lua 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/compress -c > %s
34 _crunch .bz2 /usr/bin/bzip2 -c > %s
35 _crunch .gz /usr/bin/gzip -c > %s
36 _crunch .xz /usr/bin/xz -c > %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.
46 X11R7 /usr/X11R7/man/
47 X11R6 /usr/X11R6/man/
48 packages /usr/pkg/man/
49 local /usr/local/man/
50
51 # Specific section/directory combinations.
52 1 {cat,man}1
53 2 {cat,man}2
54 3 {cat,man}3
55 3F {cat,man}3f
56 3f {cat,man}3f
57 3lua {cat,man}3lua
58 3l {cat,man}3lua
59 4 {cat,man}4
60 5 {cat,man}5
61 6 {cat,man}6
62 7 {cat,man}7
63 8 {cat,man}8
64 9 {cat,man}9
65 9lua {cat,man}9lua
66 9l {cat,man}9lua
67 l {cat,man}l
68 n {cat,man}n
69
70 # machine classes per machine
71 _i386 x86
72 _amd64 x86
73 _sparc64 sparc
74