From 6b4480e041335acb92e1c76c4bdc9186f5bfb0f2 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 19 Jul 2016 22:40:33 +0000 Subject: 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. --- mandocdb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mandocdb.c') diff --git a/mandocdb.c b/mandocdb.c index 9bea830c..c9eda485 100644 --- a/mandocdb.c +++ b/mandocdb.c @@ -1,4 +1,4 @@ -/* $Id: mandocdb.c,v 1.221 2016/07/19 21:31:55 schwarze Exp $ */ +/* $Id: mandocdb.c,v 1.222 2016/07/19 22:40:33 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2011-2016 Ingo Schwarze @@ -464,8 +464,7 @@ mandocdb(int argc, char *argv[]) } else { /* * If we have arguments, use them as our manpaths. - * If we don't, grok from manpath(1) or however else - * manconf_parse() wants to do it. + * If we don't, use man.conf(5). */ if (argc > 0) { conf.manpath.paths = mandoc_reallocarray(NULL, -- cgit v1.2.3-56-ge451