File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 11OPENRESTY_PREFIX =/usr/local/openresty
22
3+ # LUA_VERSION := 5.1
34PREFIX ?= /usr/local
45LUA_INCLUDE_DIR ?= $(PREFIX ) /include
56LUA_LIB_DIR ?= $(PREFIX ) /lib/lua/$(LUA_VERSION )
@@ -12,9 +13,11 @@ all: ;
1213install : all
1314 $(INSTALL ) -d $(DESTDIR )$(LUA_LIB_DIR ) /resty/core/
1415 $(INSTALL ) -d $(DESTDIR )$(LUA_LIB_DIR ) /ngx/
16+ $(INSTALL ) -d $(DESTDIR )$(LUA_LIB_DIR ) /ngx/ssl
1517 $(INSTALL ) lib/resty/* .lua $(DESTDIR )$(LUA_LIB_DIR ) /resty/
1618 $(INSTALL ) lib/resty/core/* .lua $(DESTDIR )$(LUA_LIB_DIR ) /resty/core/
1719 $(INSTALL ) lib/ngx/* .lua $(DESTDIR )$(LUA_LIB_DIR ) /ngx/
20+ $(INSTALL ) lib/ngx/ssl/* .lua $(DESTDIR )$(LUA_LIB_DIR ) /ngx/ssl/
1821
1922test : all
2023 PATH=$(OPENRESTY_PREFIX ) /nginx/sbin:$$ PATH prove -I../test-nginx/lib -r t
You can’t perform that action at this time.
0 commit comments