Skip to content

Commit 757f6d7

Browse files
authored
makefile: fix not install ngxvar dir (#9)
Signed-off-by: Vinson Zou <vinsonzou@users.noreply.github.com>
1 parent 53fe749 commit 757f6d7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ test = t/
1010
.PHONY: all test install
1111

1212
install:
13-
$(INSTALL) -m664 lib/resty/*.lua $(DESTDIR)$(LUA_LIB_DIR)/resty
13+
$(INSTALL) -d $(DESTDIR)$(LUA_LIB_DIR)/resty/ngxvar/
14+
$(INSTALL) -m664 lib/resty/ngxvar/*.lua $(DESTDIR)$(LUA_LIB_DIR)/resty/ngxvar/
15+
$(INSTALL) -m664 lib/resty/*.lua $(DESTDIR)$(LUA_LIB_DIR)/resty/
1416

1517
test:
1618
PATH=$(OPENRESTY_PREFIX)/nginx/sbin:$$PATH prove -I../test-nginx/lib -r $(test)

0 commit comments

Comments
 (0)