Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Fix missing man pages for self-installed utilities' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Fix missing man pages for self-installed utilities
Authored by: n8gray on Mar 06, '06 12:00:02PM
Instead of just choosing one directory, have man search both. Put this in your /usr/share/misc/man.conf:
MANPATH /usr/local/man
MANPATH /usr/local/share/man

MANPATH_MAP /usr/local/bin /usr/local/share/man   #either one is fine here
This will tell man to try /usr/local/share/man first, but then fall back to the normal man path, which now includes /usr/local/man.

[ Reply to This | # ]