diff options
-rw-r--r-- | Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -82,15 +82,13 @@ $(DESTDIR)$(luarocksconfdir)/config-$(LUA_VERSION).lua: config-$(LUA_VERSION).lu | |||
82 | # Binary build | 82 | # Binary build |
83 | # ---------------------------------------- | 83 | # ---------------------------------------- |
84 | 84 | ||
85 | BINARY_TARGET=build-binary | 85 | binary: build-binary/luarocks.exe build-binary/luarocks-admin.exe |
86 | 86 | ||
87 | binary: $(BINARY_TARGET)/luarocks.exe $(BINARY_TARGET)/luarocks-admin.exe | 87 | build-binary/luarocks.exe: luarocks |
88 | LUA_PATH="$(CURDIR)/src/?.lua;;" "$(LUA_BINDIR)/$(LUA_INTERPRETER)" binary/all_in_one "src/bin/luarocks" "$(LUA_DIR)" "^src/luarocks/admin/" "$(luarocksconfdir)" build-binary $(BINARY_PLATFORM) $(BINARY_CC) $(BINARY_NM) $(BINARY_SYSROOT) | ||
88 | 89 | ||
89 | $(BINARY_TARGET)/luarocks.exe: luarocks | 90 | build-binary/luarocks-admin.exe: luarocks |
90 | LUA_PATH="$(CURDIR)/src/?.lua;;" "$(LUA_BINDIR)/$(LUA_INTERPRETER)" binary/all_in_one "src/bin/luarocks" "$(LUA_DIR)" "^src/luarocks/admin/" "$(luarocksconfdir)" $(BINARY_TARGET) $(BINARY_PLATFORM) $(BINARY_CC) $(BINARY_NM) $(BINARY_SYSROOT) | 91 | LUA_PATH="$(CURDIR)/src/?.lua;;" "$(LUA_BINDIR)/$(LUA_INTERPRETER)" binary/all_in_one "src/bin/luarocks-admin" "$(LUA_DIR)" "^src/luarocks/cmd/" "$(luarocksconfdir)" build-binary $(BINARY_PLATFORM) $(BINARY_CC) $(BINARY_NM) $(BINARY_SYSROOT) |
91 | |||
92 | $(BINARY_TARGET)/luarocks-admin.exe: luarocks | ||
93 | LUA_PATH="$(CURDIR)/src/?.lua;;" "$(LUA_BINDIR)/$(LUA_INTERPRETER)" binary/all_in_one "src/bin/luarocks-admin" "$(LUA_DIR)" "^src/luarocks/cmd/" "$(luarocksconfdir)" $(BINARY_TARGET) $(BINARY_PLATFORM) $(BINARY_CC) $(BINARY_NM) $(BINARY_SYSROOT) | ||
94 | 92 | ||
95 | # ---------------------------------------- | 93 | # ---------------------------------------- |
96 | # Binary install | 94 | # Binary install |