Hi Sean,

> On Jan 27, 2014, at 3:20 PM, Sean Conner <s...@conman.org> wrote:
> 
> It was thus said that the Great Gary V. Vaughan once stated:
>> Hi Hisham,
>> 
>> For rocks that provide scripts in bin, luarocks copies those out to
>> $TREE_ROOT/bin, but there's currently no way to add Unix man pages. 
>> Rather than special-casing certain directories, such as 'man' in the
>> installed rock package trees (although that would be a useful feature in
>> itself for more than just manual page hierarchies) I think it would be
>> super-useful to have `luarocks path` set the MANPATH environment to
>> include any install luarocks with top-level `man` directories.
> 
>  I already have MANPATH defined for my environment, so what is the expected
> result?

That any man pages installed with luarocks will be available without having to 
write a shell script to dig through the rock trees searching for man 
directories and adding them to your MANPATH manually.  For example, My specl 
rock installs specl.1 (currently in the doc dir, but I'd change the location  
in a heartbeat if that meant 'man specl' would find it), Zile installs zmacs 
and zlc, and in the next release zz, all are copied to bin and 'eval `luarocks 
path`' adds the rock tree bin directory to my PATH so the shell can find 
them... my proposal would mean the accompanying zmacs.1, zlc.1 and zz.1 would 
be available by typing 'man zmacs' etc etc after luarocks path adds the rocks 
tree man directories to MANPATH.

Hope that clarifies :-)

Cheers,
-- 
Gary V. Vaughan (gary AT vaughan DOT pe)
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to