aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2017-10-04 13:47:17 -0300
committerHisham Muhammad <hisham@gobolinux.org>2017-10-04 13:47:17 -0300
commit815cf73c266e371fe2eaa81787572564736e2b02 (patch)
tree480f583c567f42c57220ae2f25c4b975e6375549 /Makefile
parente3a25e1c98fac6f52fe5e0653acea73d528a9a7b (diff)
downloadluarocks-815cf73c266e371fe2eaa81787572564736e2b02.tar.gz
luarocks-815cf73c266e371fe2eaa81787572564736e2b02.tar.bz2
luarocks-815cf73c266e371fe2eaa81787572564736e2b02.zip
Make Makefiles install site_config.lua in new location.
Fixes #735.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0f1274ae..afffa0dc 100644
--- a/Makefile
+++ b/Makefile
@@ -125,8 +125,8 @@ run_luarocks:
125 '$(LUA_BINDIR)/lua$(LUA_SUFFIX)' -e "package.path=[[$(SAFEPWD)/src/?.lua;]]..package.path" src/bin/luarocks make rockspec --tree="$(PREFIX)" 125 '$(LUA_BINDIR)/lua$(LUA_SUFFIX)' -e "package.path=[[$(SAFEPWD)/src/?.lua;]]..package.path" src/bin/luarocks make rockspec --tree="$(PREFIX)"
126 126
127install_site_config: $(SITE_CONFIG) 127install_site_config: $(SITE_CONFIG)
128 mkdir -p "$(DESTDIR)$(LUADIR)/luarocks" 128 mkdir -p "$(DESTDIR)$(LUADIR)/luarocks/core"
129 cp $(SITE_CONFIG) "$(DESTDIR)$(LUADIR)/luarocks" 129 cp $(SITE_CONFIG) "$(DESTDIR)$(LUADIR)/luarocks/core"
130 130
131write_sysconfig: 131write_sysconfig:
132 mkdir -p "$(DESTDIR)$(ROCKS_TREE)" 132 mkdir -p "$(DESTDIR)$(ROCKS_TREE)"