aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/configure.local.example
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-07-19 22:40:33 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-07-19 22:40:33 +0000
commit6b4480e041335acb92e1c76c4bdc9186f5bfb0f2 (patch)
tree8f0dba438bbfb9ae8b443e2e97d876b5c4051c2a /configure.local.example
parent490252b369661e1862919f425cdaf44accbeb1ae (diff)
downloadmandoc-6b4480e041335acb92e1c76c4bdc9186f5bfb0f2.tar.gz
mandoc-6b4480e041335acb92e1c76c4bdc9186f5bfb0f2.tar.zst
mandoc-6b4480e041335acb92e1c76c4bdc9186f5bfb0f2.zip
Now that our man.conf(5) format is mature and extremely simple,
delete manpath(1) support. With the mandoc-based man(1), manpath(1) is utterly useless. Just set MANPATH_DEFAULT in configure.local for sane operating system defaults, use man.conf(5) for machine- specific modifications, and use ${MANPATH}, -m, and -M for user preferences.
Diffstat (limited to 'configure.local.example')
-rw-r--r--configure.local.example21
1 files changed, 4 insertions, 17 deletions
diff --git a/configure.local.example b/configure.local.example
index 6103f99e..9035c565 100644
--- a/configure.local.example
+++ b/configure.local.example
@@ -1,4 +1,4 @@
-# $Id: configure.local.example,v 1.15 2016/07/19 21:31:55 schwarze Exp $
+# $Id: configure.local.example,v 1.16 2016/07/19 22:40:33 schwarze Exp $
#
# Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@openbsd.org>
#
@@ -49,9 +49,9 @@ HAVE_WCHAR=1
HAVE_WCHAR=0
# When man(1) or apropos(1) is called without -m and -M options,
-# MANPATH is not set in the environment, man.conf(5) is not available
-# and manpath(1) not used, manuals are searched for in the following
-# directory trees by default.
+# MANPATH is not set in the environment, and man.conf(5) is not
+# available, manuals are searched for in the following directory
+# trees by default.
MANPATH_DEFAULT="/usr/share/man:/usr/X11R6/man:/usr/local/man"
@@ -80,19 +80,6 @@ INCLUDEDIR="${PREFIX}/include/mandoc"
LIBDIR="${PREFIX}/lib/mandoc"
MANDIR="${PREFIX}/man"
-# The man(1) utility needs to know where the manuals reside.
-# We know of two ways to tell it: via manpath(1) or man.conf(5).
-# The latter is used by OpenBSD and NetBSD, the former by most
-# other systems.
-
-# Force usage of manpath(1).
-# If it is not installed or not operational,
-# man(1), makewhatis(8), and apropos(1) will not work properly.
-HAVE_MANPATH=1
-
-# Force usage of man.conf(5).
-HAVE_MANPATH=0
-
# Some distributions may want to avoid naming conflicts
# with the configuration files of other man(1) implementations.
# This changes the name of the installed section 5 manual page as well.