freebsd-dev/gnu/usr.bin/man/manpath/manpath.config
Ruslan Ermilov 80e770cf63 - 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
1999-08-16 11:34:57 +00:00

31 lines
905 B
Plaintext

# $Id: manpath.config,v 1.11 1999/07/25 19:33:06 markm Exp $
#
# 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
#
#MANBIN /usr/local/bin/man
#
# every automatically generated MANPATH includes these fields
#
MANDATORY_MANPATH /usr/share/man
MANDATORY_MANPATH /usr/share/perl/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
#
MANPATH_MAP /bin /usr/share/man
MANPATH_MAP /usr/bin /usr/share/man
MANPATH_MAP /usr/local/bin /usr/local/man
MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man