Subject: Re: bin/5231: makewhatis does not deal with multiple MANDIR's
To: None <netbsd-bugs@NetBSD.ORG>
From: Geoff Wing <firstname.lastname@example.org>
Date: 03/30/1998 03:02:40
Charlie Root <email@example.com> typed:
:>Synopsis: makewhatis does not deal with multiple man dirs
:Tim Rightnour - firstname.lastname@example.org
:>Release: 1.3<NetBSD-current source date>
: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)
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 <email@example.com> Mobile : 0412 162 441
Work URL: http://www.primenet.com.au/ Ego URL: http://pobox.com/~gcw/