From 98d1f1da856ab59cf8355c1e2e11e3c0eb954fb2 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Sun, 1 Jul 2018 15:21:16 -0300 Subject: Unix: new build system * Reworked configure script * Now passes shellcheck * New Makefile for Unix * Simplified `make` and `make install` targets * Simplified `make bootstrap` target * New targets `make binary` and `make install-binary` build and install an all-in-one binary of LuaRocks --- Makefile.luarocks | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 Makefile.luarocks (limited to 'Makefile.luarocks') diff --git a/Makefile.luarocks b/Makefile.luarocks deleted file mode 100644 index f0652891..00000000 --- a/Makefile.luarocks +++ /dev/null @@ -1,16 +0,0 @@ - -include Makefile.setup.inc -include Makefile.install.inc - -.PHONY: all install copy_site_config - -all: - @echo This Makefile is used by the LuaRocks rockspec for upgrading itself. - -install: install_bins install_luas copy_site_config - -copy_site_config: - luaver="$(LUA_VERSION)" && [ -n "$$luaver" ] || luaver=`$(LUA) -e 'print(_VERSION:sub(5))'`; \ - mkdir -p "$(DESTDIR)$(LUADIR)/luarocks"; \ - site_config="site_config_$(echo "$luaver" | sed 's,\.,_,').lua" - lprefix=$(echo "$(LUADIR)" | sed 's,/lib/luarocks/.*,,'); sed "s,LUAROCKS_PREFIX=.*,LUAROCKS_PREFIX=[[$$lprefix]],g" "$(LUAROCKS_PREFIX)/share/lua/$$luaver/luarocks/core/$$site_config" > "$(DESTDIR)$(LUADIR)/luarocks/core/$$site_config" -- cgit v1.2.3-55-g6feb