From e4974c45db3482494eaac114dec5f19ce2ef1221 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Mon, 3 Jan 2011 21:27:41 -0500 Subject: [PATCH] making lighttpd serving the default make target --- web/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/Makefile b/web/Makefile index 5b16e92..c3234cc 100644 --- a/web/Makefile +++ b/web/Makefile @@ -8,14 +8,14 @@ ALL_NGINX_CONF_INPUTS := \ $(wildcard perl_locations.d/*) -serve: nginx.conf - nginx -p $(ROOT)/ -c $(ROOT)/$< - - serve-lighttpd: lighttpd.conf lighttpd -D -f $(ROOT)/$< +serve-nginx: nginx.conf + nginx -p $(ROOT)/ -c $(ROOT)/$< + + nginx.conf: $(ALL_NGINX_CONF_INPUTS) cat $< | \ sed -e 's@__ROOT__@$(ROOT)@g' \ @@ -36,4 +36,4 @@ cgiwrap-fcgi.pl: cgiwrap-fcgi.pl.in cat $< | sed -e 's@__ROOT__@$(ROOT)@g' > $@ -.PHONY: serve serve-cgiwrap +.PHONY: serve-nginx serve-lighttpd serve-cgiwrap