aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-08-11 00:33:17 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-08-11 01:24:12 -0300
commite19230b9d5672a60bd25534e81c621ad85defbf9 (patch)
tree168eac33064d3b918b26daf7cbb9d3ef8d0db8c4
parentb3869ba11a504e603eb585a632e80dbfc1830207 (diff)
downloadluarocks-e19230b9d5672a60bd25534e81c621ad85defbf9.tar.gz
luarocks-e19230b9d5672a60bd25534e81c621ad85defbf9.tar.bz2
luarocks-e19230b9d5672a60bd25534e81c621ad85defbf9.zip
GNUmakefile: add back install-config target
As a convenience to distro maintainers who may want to distribute multiple versions of the LuaRocks configuration.
-rw-r--r--GNUmakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index a2a13e04..87b30480 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -108,6 +108,8 @@ INSTALL_FILES = $(DESTDIR)$(bindir)/luarocks \
108 108
109install: $(INSTALL_FILES) 109install: $(INSTALL_FILES)
110 110
111install-config: $(DESTDIR)$(luarocksconfdir)/config-$(LUA_VERSION).lua
112
111$(DESTDIR)$(bindir)/luarocks: $(builddir)/luarocks 113$(DESTDIR)$(bindir)/luarocks: $(builddir)/luarocks
112 mkdir -p "$(@D)" 114 mkdir -p "$(@D)"
113 $(INSTALL) "$<" "$@" 115 $(INSTALL) "$<" "$@"