File: [local] / src / etc / Attic / man.conf (download)
Revision 1.16, Tue Oct 19 20:05:52 2010 UTC (13 years, 7 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9 Changes since 1.15: +10 -12 lines
There is no more groff in the base system, so use mandoc(1) to format
manuals on demand by man(1), even though a few manuals may still have
formatting issues with mandoc, and a tiny fraction may still make
mandoc error out.
Also remove the .me and .ms _build rules: we don't support these
formats any longer, and don't have any such manuals in base.
OK deraadt@ sthen@
|
# $OpenBSD: man.conf,v 1.16 2010/10/19 20:05:52 schwarze Exp $
# Sheer, raging paranoia...
_version BSD.2
# The whatis/apropos database.
_whatdb /usr/share/man/whatis.db
_whatdb /usr/local/man/whatis.db
_whatdb /usr/X11R6/man/whatis.db
# Subdirectories for paths ending in '/', IN SEARCH ORDER.
_subdir cat1 man1 cat8 man8 cat6 man6 cat2 man2 cat3 man3 cat5 man5 cat7 man7 cat4 man4 cat9 man9 cat3p man3p cat3f man3f catn mann
# Files typed by suffix and their commands.
# Note the order: .Z must come after .[1-9n].Z, or it will match first.
_suffix .0
_build .0.Z /usr/bin/zcat %s
_build .0.gz /usr/bin/gzcat %s
_build .[1-9n] /usr/bin/mandoc %s
_build .[1-9n].Z /usr/bin/zcat %s | /usr/bin/mandoc
_build .[1-9n].gz /usr/bin/gzcat %s | /usr/bin/mandoc
_build .[1-9][a-z] /usr/bin/mandoc %s
_build .[1-9][a-z].Z /usr/bin/zcat %s | /usr/bin/mandoc
_build .[1-9][a-z].gz /usr/bin/gzcat %s | /usr/bin/mandoc
_build .tbl /usr/bin/mandoc %s
_build .tbl.Z /usr/bin/zcat %s | /usr/bin/mandoc
_build .tbl.gz /usr/bin/gzcat %s | /usr/bin/mandoc
# Sections and their directories.
# All paths ending in '/' are the equivalent of entries specifying that
# directory with all of the subdirectories listed for the keyword _subdir.
# default
_default /usr/{share,X11R6,local}/man/
# Other sections that represent complete man subdirectories.
X11 /usr/X11R6/man/
X11R6 /usr/X11R6/man/
local /usr/local/man/
# Specific section/directory combinations.
1 /usr/{share,X11R6,local}/man/{cat,man}1
2 /usr/{share,X11R6,local}/man/{cat,man}2
3 /usr/{share,X11R6,local}/man/{cat,man}3
3F /usr/local/man/{cat,man}3f
3f /usr/local/man/{cat,man}3f
3P /usr/{share,local}/man/{cat,man}3p
3p /usr/{share,local}/man/{cat,man}3p
4 /usr/{share,X11R6,local}/man/{cat,man}4
5 /usr/{share,X11R6,local}/man/{cat,man}5
6 /usr/{share,X11R6,local}/man/{cat,man}6
7 /usr/{share,X11R6,local}/man/{cat,man}7
8 /usr/{share,X11R6,local}/man/{cat,man}8
9 /usr/share/man/{cat,man}9
n /usr/local/man/{cat,man}n