aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-03-17 22:36:10 -0300
committerHisham Muhammad <hisham@gobolinux.org>2015-03-17 22:36:10 -0300
commit4e9a0e366737f903d01d3907e46221bd25117548 (patch)
tree10c65d576ed61db05bf81125d8e06610d1b6d5a9
parentccab32f2a64f990c75023cad39d6b3966e9aeabb (diff)
downloadluarocks-4e9a0e366737f903d01d3907e46221bd25117548.tar.gz
luarocks-4e9a0e366737f903d01d3907e46221bd25117548.tar.bz2
luarocks-4e9a0e366737f903d01d3907e46221bd25117548.zip
This is for Makefile.luarocks only.
-rw-r--r--Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index c56ebd0c..5f983534 100644
--- a/Makefile
+++ b/Makefile
@@ -146,9 +146,5 @@ install: install_bins install_luas install_site_config write_sysconfig
146bootstrap: src/luarocks/site_config.lua install_site_config write_sysconfig cleanup_bins 146bootstrap: src/luarocks/site_config.lua install_site_config write_sysconfig cleanup_bins
147 '$(LUA_BINDIR)/lua$(LUA_SUFFIX)' -e "package.path=[[$(SAFEPWD)/src/?.lua;]]..package.path" src/bin/luarocks make rockspec --tree="$(PREFIX)" 147 '$(LUA_BINDIR)/lua$(LUA_SUFFIX)' -e "package.path=[[$(SAFEPWD)/src/?.lua;]]..package.path" src/bin/luarocks make rockspec --tree="$(PREFIX)"
148 148
149copy_site_config: 149install_rock: install_bins install_luas
150 luaver="$(LUA_VERSION)" && [ -n "$$luaver" ] || luaver=`$(LUA) -e 'print(_VERSION:sub(5))'`; \
151 mkdir -p "$(DESTDIR)$(LUADIR)/luarocks"; \
152 cp $(LUAROCKS_PREFIX)/share/lua/$$luaver/luarocks/site_config.lua "$(DESTDIR)$(LUADIR)/luarocks"
153 150
154install_rock: install_bins install_luas copy_site_config