1 # $NetBSD: man.conf,v 1.32 2013/07/18 13:10:50 christos Exp $
3 # Sheer, raging paranoia...
6 # The whatis/apropos database.
7 _whatdb /usr/share/man/mandoc.db
9 # Subdirectories for paths ending in '/', IN SEARCH ORDER.
10 _subdir man1 man8 man6 man2 man3 man4 man5 man7 man9
12 # Files typed by suffix and their commands.
13 # Note the order, .Z must come after .[1-9].Z, or it will match first.
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
30 _crunch .Z /usr/bin/zcat > %s
31 _crunch .bz2 /usr/bin/bzcat > %s
32 _crunch .gz /usr/bin/zcat > %s
33 _crunch .xz /usr/bin/xzcat > %s
35 # Sections and their directories.
36 # All paths ending in '/' are the equivalent of entries specifying that
37 # directory with all of the subdirectories listed for the keyword _subdir.
40 _default /usr/{share,X11R7,X11R6,pkg,local}/man/
42 # Other sections that represent complete man subdirectories.
45 packages /usr/pkg/man/
48 # Specific section/directory combinations.