aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4c18cd34..0e3871e5 100644
--- a/Makefile
+++ b/Makefile
@@ -125,7 +125,12 @@ install_bins: built
125 125
126install_luas: built 126install_luas: built
127 mkdir -p "$(DESTDIR)$(LUADIR)/luarocks" 127 mkdir -p "$(DESTDIR)$(LUADIR)/luarocks"
128 cd src/luarocks && for f in $(LUAROCKS_FILES); do d="$(DESTDIR)$(LUADIR)/luarocks"/`dirname "$$f"`; mkdir -p "$$d"; cp "$$f" "$$d"; done 128 cd src/luarocks && for f in $(LUAROCKS_FILES); \
129 do \
130 d="$(DESTDIR)$(LUADIR)/luarocks"/`dirname "$$f"` && \
131 mkdir -p "$$d" && \
132 cp "$$f" "$$d" || exit 1; \
133 done
129 134
130install_site_config: built 135install_site_config: built
131 mkdir -p "$(DESTDIR)$(LUADIR)/luarocks" 136 mkdir -p "$(DESTDIR)$(LUADIR)/luarocks"