Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Enable NGINX sources, add target for nginx tests

Change-Id: I26a998bbfa5f7a41dd1ff54355d8981e9dddcfee
  • Loading branch information...
commit 1d27ee5126f3cbe5929849e3a8be5f62401339f9 1 parent 306afd2
@avsej avsej authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 Makefile
View
7 Makefile
@@ -7,8 +7,8 @@ RUBYCLIENTSOURCE:= $(shell find ruby/client -name "*.rb" -o -name "*.[ch]")
VACUUMSOURCE := $(shell find demo/vacuum -name "*.[ch]*")
PLUGINLESSSTEP1SOURCE := $(shell find demo/pluginless/step1 -name "*.[ch]*")
PLUGINLESSSTEP2SOURCE := $(shell find demo/pluginless/step2 -name "*.[ch]*")
-#NGINXSOURCE := $(shell find nginx -name "*.[ch]*")
-#NGINXMODULESOURCE := $(shell find nginx-module -name "*.[ch]*")
+NGINXSOURCE := $(shell find nginx -name "*.[ch]*")
+NGINXMODULESOURCE := $(shell find nginx-module -name "*.[ch]*")
all: lcb/libcouchbase.la \
php/modules/couchbase.so \
@@ -103,6 +103,9 @@ nginx/objs/nginx: lcb/libcouchbase.la nginx/objs/Makefile $(NGINXSOURCE) $(NGINX
nginx/objs/Makefile: nginx/auto/configure nginx-module/config
(cd nginx; ./auto/configure --prefix=$(PREFIX) --with-debug --add-module=$(TOPDIR)/nginx-module)
+nginx-module-test: nginx-module
+ (cd nginx-module; PATH=$(PREFIX)/sbin:$(PATH) prove)
+
#
# Demo programs
#
Please sign in to comment.
Something went wrong with that request. Please try again.