On Tue, Jun 28, 2011 at 2:43 PM, steve donovan <steve.j.dono...@gmail.com>wrote:
> On Tue, Jun 28, 2011 at 7:02 PM, Wesley Smith <wesley.h...@gmail.com> > wrote: > > But make no mention of alternatives or what the value might be for a > > binary module with nothing to compile. > > Here's another option. It's possible for the build type to be 'none' > if you just want to install binary Lua modules. > > build = { > type = 'none', > install = { > lib = { > baggins = "src/baggins.so" > } > } > } > > Oh, that's cleaner :D Didn't know about that. Anyway, just to clarify, the equivalent of Steve's proposal using a command is this. build = { type = "command", install_command = [[cp src/baggins.so $(LIBDIR)/baggins.so]] } In both cases, you're just copying a file around.
_______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/