location of man pages for multiple versions of the same program

Brandon Allbery allbery.b at gmail.com
Mon Apr 7 07:22:59 PDT 2014


On Mon, Apr 7, 2014 at 10:20 AM, Mojca Miklavec <mojca at macports.org> wrote:

> I see that mysql55 for example installs man pages to
>     $prefix/share/man/mysql55/man1/*.1.gz
> where they are not really functional.
>
> Is that a proper place for these files? / Is there any better place?
>

If you arrange for them to be in ../share/man or ../man when the private
bin directory is in $PATH, they will automatically work. (This assumes
there is a private bin directory and not just versioned binaries in
/opt/local/bin. For something like mysql, there are going to be enough
private binaries to make this a good idea.)

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20140407/04d14874/attachment.html>


More information about the macports-dev mailing list