Skip to content

Commit

Permalink
Define configurable install dir for OPM libs
Browse files Browse the repository at this point in the history
  • Loading branch information
p0pr0ck5 committed Feb 6, 2017
1 parent 742e897 commit bc2a15f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ clean-libs:
cd lib && rm -f $(SO_LIBS)

clean-opm-libs:
$(OPM) remove $(OPM_LIBS)
$(OPM) --install-dir=$(LUA_LIB_DIR) remove $(OPM_LIBS)

clean-test:
rm -rf t/servroot
Expand Down Expand Up @@ -75,7 +75,7 @@ test-libs: clean all test-lua-aho-corasick test-libinjection
test-recursive: test test-libs

install-opm-libs:
$(OPM) install $(OPM_LIBS)
$(OPM) --install-dir=$(LUA_LIB_DIR) get $(OPM_LIBS)

install: install-opm-libs
$(INSTALL) -d $(LUA_LIB_DIR)/resty/waf/storage
Expand Down

0 comments on commit bc2a15f

Please sign in to comment.