On Mon, Jul 29, 2013 at 8:20 PM, Hisham <[email protected]> wrote:
> It was probably undocumented by oversight! It has been there for a
> long time, isn't it?
>
>
Yes, it certainly applies to any _commands_ , so one can say
install_command = 'lake TREE=$(ROCKS_TREE) install'
work it out from there:
LPREFIX = TREE:match '^.(.-)/lib'
LLIB = LPREFIX..'/lib/lua/5.1'
and define an install target
target.install {
file.group{src=lib,odir=LLIB}
}
At least on Unix, this handles installation for the local and main trees
fine.
The otherwise excellent introduction to writing portable makefiles for
LuaRocks (which applies to lakefiles as well)
http://luarocks.org/en/Recommended_practices_for_Makefiles
assumes that the prefix is always '/usr/local'. And handling 5.2 is a new
spin - unfortunately I'm not seeing a LUA_VERSION exported.
A most interesting discussion (if mostly with myself ;)) but it would be
nice if you could upload the Lake rockspec ;)
steve d.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers