tags 388755 fixed-upstream
thanks
On Fri, Sep 22, 2006 at 12:28:41PM +0100, Phil Endecott wrote:
> "man apropos" doesn't say anything about how the keyword database works,
> which can lead to confusion. For example:
[...]
> I suggest that the DESCRIPTION section in the apropos page makes a brief
> mention of the existence of the database, e.g.
Thanks for the suggestion, and sorry for the delay in replying. I've
applied something very similar upstream for the upcoming man-db 2.4.4:
Sun Jan 7 20:58:16 GMT 2007 Colin Watson <[EMAIL PROTECTED]>
Add cross-references to mandb in apropos and whatis documentation
(thanks, Phil Endecott; Debian bug #388755).
* man/man1/apropos.man1 (DESCRIPTION): Mention that the database is
updated by mandb.
(SEE ALSO): Refer to mandb(8).
* man/man1/whatis.man1 (DESCRIPTION, SEE ALSO): Likewise.
> Or something like that. It just needs a bit of a clue; I had imagined
> that post-inst scripts automatically updated the apropos database after
> installing man pages and only realised that this wasn't the case when I
> installed netpbm.
This isn't done yet because it would be very inefficient. If dpkg ever
supports "triggers" (code fragments that can be run at the end of a dpkg
run, rather than in every postinst), this could be done. In the meantime
you could do it with a DPkg::Post-Invoke hook in /etc/apt/apt.conf,
although this would also be somewhat inefficient as it would be run even
if no manual pages have been installed.
Cheers,
--
Colin Watson [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]