projects/aports·blob master · refs

13 lines · 509 B

1--- a/Makefile
2+++ b/Makefile
3@@ -11,9 +11,8 @@
4 @$(INSTALL) -d resty_modules/lualib/resty
5 @test -f resty_modules/lualib/resty/string.lua || curl -s -o resty_modules/lualib/resty/string.lua https://raw.githubusercontent.com/openresty/lua-resty-string/master/lib/resty/string.lua
6
7-install: all
8+install:
9 $(INSTALL) -d $(DESTDIR)$(LUA_LIB_DIR)/resty
10- $(INSTALL) resty_modules/lualib/resty/*.lua $(DESTDIR)$(LUA_LIB_DIR)/resty
11 $(INSTALL) lib/resty/*.lua $(DESTDIR)$(LUA_LIB_DIR)/resty
12
13 test: install