|
|
Fix missing man pages for self-installed utilities
Alternatively, you can just set your MANPATH manually. In my .cshrc file, I have
which simply tells man to look in all of those directories. This also takes care of things that make their own subdirectories in /usr/local, the DarwinPorts directory hierarchy (/opt), etc. Note that for bash users, you'll have to use something like
instead.
Fix missing man pages for self-installed utilities
Probably the most flexible option is to leave alone
/usr/share/misc/man.conf and the $MANPATH variable, move all the stuff in /usr/local/man/ (if any) to the corresponding place in /usr/local/share/man/, and then
cd /usr/local/
This turns /usr/local/man into a symlink to /usr/local/share/man/.
This way, if a third party app needs to install something in /usr/local/man/, it'll be fooled into installing it in the "official" location /usr/local/share/man/.
Cheers, Artemio P.S. To transfer all the stuff in /usr/local/man/ to /usr/local/share/man/, try
cd /usr/local/man
Fix missing man pages for self-installed utilities (correction)
There was a typo in the instructions I gave to transfer all the stuff in
/usr/local/man/ to /usr/local/share/man/. The correct command is:
cd /usr/local
Fix missing man pages for self-installed utilities
Or put the same environment variable into ~/.MacOSX/environment.plist, which might look something like this:
Change the MANPATH string to your likeing.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|