Skip to content

Commit

Permalink
Fixed Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiago Peralta committed May 24, 2016
1 parent e477590 commit 6048cc7
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ INSTALL ?= install
all: ;

install: all
$(INSTALL) -d $(DESTDIR)/$(LUA_LIB_DIR)/lua_resty_waf
$(INSTALL) waf.lua $(DESTDIR)/$(LUA_LIB_DIR)/lua_resty_waf/waf.lua
$(INSTALL) -d $(DESTDIR)/$(LUA_LIB_DIR)/lua_resty_waf/inc
$(INSTALL) inc/* $(DESTDIR)/$(LUA_LIB_DIR)/lua_resty_waf/inc/
$(INSTALL) -d $(DESTDIR)/$(LUA_LIB_DIR)/lua_resty_waf/inc/resty
$(INSTALL) inc/resty/*.lua $(DESTDIR)/$(LUA_LIB_DIR)/lua_resty_waf/inc/resty/
$(INSTALL) -d $(DESTDIR)/$(LUA_LIB_DIR)/lua_resty_waf/inc/resty/dns
$(INSTALL) inc/resty/dns/*.lua $(DESTDIR)/$(LUA_LIB_DIR)/lua_resty_waf/inc/resty/dns/
$(INSTALL) -d $(DESTDIR)/$(LUA_LIB_DIR)/lua_resty_waf/inc/resty/logger
$(INSTALL) inc/resty/logger/*.lua $(DESTDIR)/$(LUA_LIB_DIR)/lua_resty_waf/inc/resty/logger/
$(INSTALL) -d $(DESTDIR)/$(LUA_LIB_DIR)/lua_resty_waf/rules
$(INSTALL) rules/*.json $(DESTDIR)/$(LUA_LIB_DIR)/lua_resty_waf/rules/
$(INSTALL) -d $(DESTDIR)$(LUA_LIB_DIR)/lua_resty_waf
$(INSTALL) waf.lua $(DESTDIR)$(LUA_LIB_DIR)/lua_resty_waf/waf.lua
$(INSTALL) -d $(DESTDIR)$(LUA_LIB_DIR)/lua_resty_waf/inc
$(INSTALL) inc/*.* $(DESTDIR)$(LUA_LIB_DIR)/lua_resty_waf/inc/
$(INSTALL) -d $(DESTDIR)$(LUA_LIB_DIR)/lua_resty_waf/inc/resty
$(INSTALL) inc/resty/*.lua $(DESTDIR)$(LUA_LIB_DIR)/lua_resty_waf/inc/resty/
$(INSTALL) -d $(DESTDIR)$(LUA_LIB_DIR)/lua_resty_waf/inc/resty/dns
$(INSTALL) inc/resty/dns/*.lua $(DESTDIR)$(LUA_LIB_DIR)/lua_resty_waf/inc/resty/dns/
$(INSTALL) -d $(DESTDIR)$(LUA_LIB_DIR)/lua_resty_waf/inc/resty/logger
$(INSTALL) inc/resty/logger/*.lua $(DESTDIR)$(LUA_LIB_DIR)/lua_resty_waf/inc/resty/logger/
$(INSTALL) -d $(DESTDIR)$(LUA_LIB_DIR)/lua_resty_waf/rules
$(INSTALL) rules/*.json $(DESTDIR)$(LUA_LIB_DIR)/lua_resty_waf/rules/
$(INSTALL) -d $(DESTDIR)/bin
$(INSTALL) tools/modsec2lua-resty-waf.pl $(DESTDIR)/bin/

0 comments on commit 6048cc7

Please sign in to comment.