[BACK]Return to man.conf CVS log [TXT][DIR] Up to [local] / src / etc

File: [local] / src / etc / Attic / man.conf (download)

Revision 1.22, Tue Jan 20 19:17:28 2015 UTC (9 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.21: +2 -3 lines

Do not use /usr/ports/infrastructure/man/ by default because this
directory is not contained in OpenBSD base, and because even people
having the directory often don't understand that they need to run
makewhatis(8) - and instead complain about the resulting warnings.
This commit reverts revisions 1.17 and 1.21.

Requested by deraadt@ millert@ kettenis@ who argue that people
using /usr/ports/infrastructure/bin/ already need to set PATH,
so editing man.conf (or, though more fragile, setting MANPATH)
should not be a big deal for them.

#	$OpenBSD: man.conf,v 1.22 2015/01/20 19:17:28 schwarze Exp $

# Sheer, raging paranoia...
_version	BSD.2

# The whatis/apropos database.
_whatdb		/usr/share/man/whatis.db
_whatdb		/usr/X11R6/man/whatis.db
_whatdb		/usr/local/man/whatis.db

# Subdirectories for paths ending in '/', IN SEARCH ORDER.
_subdir		{cat,man}1 {cat,man}8 {cat,man}6 {cat,man}2 {cat,man}3 {cat,man}5 {cat,man}7 {cat,man}4 {cat,man}9 {cat,man}3p {cat,man}3f {cat,man}n

# 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