summaryrefslogtreecommitdiff
path: root/system/mdocml/mandoc.conf.new
blob: 1bfd5d2e894da728c007a5776f780de2394c4d49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#	$OpenBSD: man.conf,v 1.20 2014/02/24 20:11:53 espie 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		{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		/bin/zcat %s
_build		.0.gz		/bin/zcat %s
_build		.[1-9n]		/usr/bin/mandoc %s
_build		.[1-9n].Z	/bin/zcat %s | /usr/bin/mandoc
_build		.[1-9n].gz	/bin/zcat %s | /usr/bin/mandoc
_build		.[1-9][a-z]	/usr/bin/mandoc %s
_build		.[1-9][a-z].Z	/bin/zcat %s | /usr/bin/mandoc
_build		.[1-9][a-z].gz	/bin/zcat %s | /usr/bin/mandoc
_build		.tbl		/usr/bin/mandoc %s
_build		.tbl.Z		/bin/zcat %s | /usr/bin/mandoc
_build		.tbl.gz		/bin/zcat %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,ports/infrastructure}/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