Red Hat Bugzilla – Bug 105587
makewhatis only updates main database
Last modified: 2007-04-18 12:57:49 EDT
Description of problem:
The example in the man page for makewhatis shows that the whatis
database is created local to the directory specified in manpath
as stated here:
To rebuild only /usr/X11R6/man/whatis and /usr/local/man/whatis
makewhatis /usr/X11R6/man /usr/local/man
In reality, the only whatis database being created or updated by
the makewhatis program is the one in /var/cache/man/whatis.
Can this be fixed?
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. makewhatis /usr/local/man
/var/cache/man/whatis is re-created using man pages from /usr/local/man.
/usr/local/man/whatis should have been created.
release 11 and beyond of makewhatis now take an argument "-o" to allow one to
write a local copy of the makewhatis database anywhere.