aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 97a2fca2..fa3ff4e8 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
2-include config.unix 2-include config.unix
3 3
4INSTALL ?= install 4INSTALL ?= install
5INSTALL_DATA ?= $(INSTALL) -m 644
5 6
6 7
7all: build 8all: build
@@ -66,8 +67,7 @@ $(DESTDIR)$(prefix)/bin/luarocks-admin: ./build/luarocks-admin
66 $(INSTALL) -D "$<" "$@" 67 $(INSTALL) -D "$<" "$@"
67 68
68$(DESTDIR)$(luarocksconfdir)/config-$(LUA_VERSION).lua: config-$(LUA_VERSION).lua.in 69$(DESTDIR)$(luarocksconfdir)/config-$(LUA_VERSION).lua: config-$(LUA_VERSION).lua.in
69 mkdir -p "$(DESTDIR)$(luarocksconfdir)" 70 $(INSTALL_DATA) -D "$<" "$@"
70 cp config-$(LUA_VERSION).lua.in "$(DESTDIR)$(luarocksconfdir)/config-$(LUA_VERSION).lua"
71 71
72# ---------------------------------------- 72# ----------------------------------------
73# Binary build 73# Binary build