Subject: Re: bin/5231: makewhatis does not deal with multiple MANDIR's
To: None <netbsd-bugs@NetBSD.ORG>
From: Geoff Wing <mason@primenet.com.au>
List: netbsd-bugs
Date: 03/30/1998 03:02:40
Charlie Root <root@polaris.garbled.net> typed:
:>Number: 5231
:>Category: bin
:>Synopsis: makewhatis does not deal with multiple man dirs
:>Organization:
:Tim Rightnour - root@garbled.net
:http://www.zynetwc.com/~garbled/garbled.html
:>Release: 1.3<NetBSD-current source date>
:>Description:
:Installing new packages in NetBSD, or even the X11 stuff that "comes with it"
:does not update the whatis.db file.. thus man -k functionality does not
:extend past the /usr/share/man hierarchy.
:With the /usr/pkg tree, and the /usr/X11R6 tree more or less integrated
:into NetBSD, we should really deal better with the man pages that get
:installed there as well.
:There are one of two approaches to this:
:A> Create a large whatis.db file in /usr/share/man and have appropos read that
:one file to find it's information.
:B> Create multiple whatis.db files in the various man roots and have apropos
:search for those. (our default man.conf allready handles this)
:install a pkg. Type man -k "pkgname" and be dissapointed.
:run /usr/libexec/makewhatis and be more disappointed.
We already have B. RTFM, makewhatis(8)
SYNOPSIS
/usr/libexec/makewhatis [manpath]
run ``/usr/libexec/makewhatis /usr/pkg/man'' and not be disappointed. What
should really be done is grep the _whatdb lines from man.conf, makewhatis
on the path of those and install on the full name.
--
Geoff Wing <gcw@pobox.com> Mobile : 0412 162 441
Work URL: http://www.primenet.com.au/ Ego URL: http://pobox.com/~gcw/