2015-05-26 10:13 GMT+02:00 steve donovan <steve.j.dono...@gmail.com>: > On Tue, May 26, 2015 at 9:23 AM, Gary V. Vaughan <g...@vaughan.pe> wrote: >> I use help2man for generating basic manual pages for my Lua packages, and >> have a long standing TODO item to teach luarocks how to: >> 1. Install the manual pages idiomatically, e.g. .../man/man1/specl.1 >> 2. Have eval `luarocks path` know how to set MANPATH appropriately > > That would be most cool, a classic use case for a little plugin which > could be installed as a dependency. > > BTW, what prevents luarocks in admin mode from simply putting the man > pages in the usual place depending on the $PREFIX? > > (I see the MANPATH need when doing local-tree installs) > >> The final think I have dreamed about is a more extensible build system in >> LuaRocks. >> While the built in mechanism is great for basic Lua-only rocks, it falls >> short on >> installing non-Lua files (e.g. data, configuration, manual pages), and >> especially >> the kinds of host environment tests needed for C language rocks that mean >> luaposix and the like have almost no option but to use Autotools. > > The wild & wonderful POSIX universe ;) The curious thing was when I > was first working on Lake, Hisham said that he had been toying with > something very similar, but decided to focus on versioning, deployment > and friendliness to existing packages which makes LuaRocks such a > flexible tool. > > Now Lake is available as a rock, but it would be cool if it could be > somehow marked as a 'build-time dependency' so that a package > maintainer could look after binary rocks for common platforms and > ensure that users don't get unnecessary stuff ;) >
You may be happy to know that build-time dependencies are in the scope of the addons system :) > There is a limit on how flexible the built-in mechanism in LuaRocks > can get - Lake itself is 4 KLoc (all in one file, mea culpa). It's > quite a beast. > > What we're really discussing here is the fabled next-generation > rockspec format - and plugins will make it the rockspec format for a > very long time! > > steve d. > > ------------------------------------------------------------------------------ > One dashboard for servers and applications across Physical-Virtual-Cloud > Widest out-of-the-box monitoring support with 50+ applications > Performance metrics, stats and reports that give you Actionable Insights > Deep dive visibility with transaction tracing using APM Insight. > http://ad.doubleclick.net/ddm/clk/290420510;117567292;y > _______________________________________________ > Luarocks-developers mailing list > Luarocks-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/luarocks-developers -- Best regards, 肖骐 XIAO Qi ------------------------------------------------------------------------------ _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers