On 27 August 2014 10:22, Gunnar Zötl <g...@tset.de> wrote: > is LUA_LIBDIR set by luarocks? Because if not, SO_INST_ROOT is exactly the > same. > I can change the name, but does that help with my original problem?
Yes, but it needs to be forwarded to the Makefile. Try adding install_variables to the rockspec like this: build = { type = "make", install_variables = { SO_INST_ROOT="$(LUA_LIBDIR)" }, copy_directories = { "doc", "samples" }, } -- Hisham >> Ignacio Burgueño <iburgu...@gmail.com> hat am 27. August 2014 um 15:01 >> geschrieben: >> >> >> Hi Gunnar. Try this in your install rule. >> >> install: >> mkdir -p $(LUA_LIBDIR) >> mv $(TARGET) $(LUA_LIBDIR) >> >> >> That way, I can install lpty to different rock trees without one install >> stepping over another. >> >> There are some tips here: >> http://www.luarocks.org/en/Recommended_practices_for_Makefiles > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Luarocks-developers mailing list > Luarocks-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/luarocks-developers ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers