aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/man/manpath/manpath.config
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>1999-08-16 11:34:57 +0000
committerRuslan Ermilov <ru@FreeBSD.org>1999-08-16 11:34:57 +0000
commit80e770cf633bb4bb205ab3523c1c1c046df4c130 (patch)
treec00c544e56871a68ce27a127aadef1a00e5cf5a7 /gnu/usr.bin/man/manpath/manpath.config
parent0f8c8396c54ff940ad46d951de62d4fb64222769 (diff)
downloadsrc-80e770cf633bb4bb205ab3523c1c1c046df4c130.tar.gz
src-80e770cf633bb4bb205ab3523c1c1c046df4c130.zip
- Add an OPTIONAL_MANPATH directive (same as MANDATORY_MANPATH,
except an absence of the directory is not considered an error and doesn't produce a warning). Put /usr/local/lib/perl5/*/man under OPTIONAL_MANPATH. - An order of directives in manpath.config is now irrelevant. - Get rid of infinite loop when PATH is unset or NULL, and MANDATORY_MANPATH directory doesn't exist. - mdoc(9)ify manpage. Reviewed by: des, markm, sheldonh
Notes
Notes: svn path=/head/; revision=49888
Diffstat (limited to 'gnu/usr.bin/man/manpath/manpath.config')
-rw-r--r--gnu/usr.bin/man/manpath/manpath.config16
1 files changed, 9 insertions, 7 deletions
diff --git a/gnu/usr.bin/man/manpath/manpath.config b/gnu/usr.bin/man/manpath/manpath.config
index 2beb011ee3cd..a1fcdd3ea2f4 100644
--- a/gnu/usr.bin/man/manpath/manpath.config
+++ b/gnu/usr.bin/man/manpath/manpath.config
@@ -1,11 +1,12 @@
-# $Id: manpath.config,v 1.10 1999/05/13 15:47:04 ache Exp $
+# $Id: manpath.config,v 1.11 1999/07/25 19:33:06 markm Exp $
#
-# This file is read by manpath to configure the mandatory manpath, to
-# map each path element to a manpath element and to determine where the
-# "man" binary lives. The format is:
+# This file is read by manpath(1) to configure the mandatory and
+# optional manpath, to map each path element to a manpath element
+# and to determine where the "man" binary lives. The format is:
#
# MANBIN pathname
# MANDATORY_MANPATH manpath_element
+# OPTIONAL_MANPATH manpath_element
# MANPATH_MAP path_element manpath_element
#
# MANBIN is optional
@@ -16,9 +17,10 @@
#
MANDATORY_MANPATH /usr/share/man
MANDATORY_MANPATH /usr/share/perl/man
-#MANDATORY_MANPATH /usr/local/man
-#MANDATORY_MANPATH /usr/local/lib/perl5/5.00503/man
-MANDATORY_MANPATH /usr/X11R6/man
+#
+# check if the directory exists and if it does, add it to MANPATH
+#
+OPTIONAL_MANPATH /usr/local/lib/perl5/5.00503/man
#
# set up PATH to MANPATH mapping
#