diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-05-18 15:41:18 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-05-18 15:41:18 +0000 |
commit | 7e648c27aa0ef9c5605c32f28c0b4ef3a40afe24 (patch) | |
tree | 38c341307db688194682a70a29ba0560d537c00d | |
parent | c8091cffb315d5e42a67e8aab8dcaf87784df055 (diff) |
- remove /usr/{X11,contrib,gnu} and /usr/*/man/old from the _default path
man(1) searches, as well as from the numerical sections list, as they do
not exist
- remove the {contrib,new,old} sections, as they point to directories
that do not exist
- make the X11 section an alias for the X11R6 section (instead of
pointing to a non-existent directory)
ok millert
-rw-r--r-- | etc/man.conf | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/etc/man.conf b/etc/man.conf index d4ba3aae1c8..380e898fbbb 100644 --- a/etc/man.conf +++ b/etc/man.conf @@ -1,4 +1,4 @@ -# $OpenBSD: man.conf,v 1.10 2007/05/17 06:44:11 jmc Exp $ +# $OpenBSD: man.conf,v 1.11 2007/05/18 15:41:17 jmc Exp $ # Sheer, raging paranoia... _version BSD.2 @@ -33,27 +33,24 @@ _build .ms /usr/bin/nroff -ms %s 2>/dev/null | cat -s # directory with all of the subdirectories listed for the keyword _subdir. # default -_default /usr/{share,X11R6,X11,contrib,gnu,local}/{man,man/old}/ +_default /usr/{share,X11R6,local}/man/ # Other sections that represent complete man subdirectories. -X11 /usr/X11/man/ +X11 /usr/X11R6/man/ X11R6 /usr/X11R6/man/ -contrib /usr/contrib/man/ local /usr/local/man/ -new /usr/contrib/man/ -old /usr/share/man/old/ # Specific section/directory combinations. -1 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}1 -2 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}2 -3 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}3 +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/share/man/cat3f 3f /usr/share/man/cat3f 3P /usr/share/man/cat3p 3p /usr/share/man/cat3p -4 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}4 -5 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}5 -6 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}6 -7 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}7 -8 /usr/{share,X11R6,X11,contrib,local}/{man/,man/old/}{cat,man}8 +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 |