On 18 August 2015 at 05:54, Dimitris Papavasiliou <[email protected]> wrote: > On 08/12/2015 01:26 PM, Daurnimator wrote: >>> So, is there any particular way for distributing manpages with LuaRocks? >>> >>> I have a module implementing an embeddable REPL, which also distributes >>> a binary script to use as an interactive interpreter and it'd be nice if >>> I could have a manpage for it (since it's basically a UNIX-only >>> command-line tool. Well, I do have the manpage, but I'm not sure what >>> to do with it. Any ideas? > > So the only way to distribute a manpage right now, would be to use > Makefiles for building, right?
Even with makefiles they will not install into a standard MANPATH (such as /usr/local/man/man1) because LuaRocks does not have explicit support for that directory, and installations are sandboxed. (The rationale was that LR is cross platform and there are no manpages on Windows.) You can ship it using copy_directories, but they'll end up somewhere like /usr/local/lib/luarocks/rocks-5.3/your-module/1.0-1/man/ -- Hisham ------------------------------------------------------------------------------ _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
