diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,6 +2,7 @@ | |||
2 | -include config.unix | 2 | -include config.unix |
3 | 3 | ||
4 | INSTALL ?= install | 4 | INSTALL ?= install |
5 | INSTALL_DATA ?= $(INSTALL) -m 644 | ||
5 | 6 | ||
6 | 7 | ||
7 | all: build | 8 | all: 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 |