making lighttpd serving the default make target

This commit is contained in:
Dan Buch 2011-01-03 21:27:41 -05:00
parent 6c2607df8d
commit e4974c45db

View File

@ -8,14 +8,14 @@ ALL_NGINX_CONF_INPUTS := \
$(wildcard perl_locations.d/*) $(wildcard perl_locations.d/*)
serve: nginx.conf
nginx -p $(ROOT)/ -c $(ROOT)/$<
serve-lighttpd: lighttpd.conf serve-lighttpd: lighttpd.conf
lighttpd -D -f $(ROOT)/$< lighttpd -D -f $(ROOT)/$<
serve-nginx: nginx.conf
nginx -p $(ROOT)/ -c $(ROOT)/$<
nginx.conf: $(ALL_NGINX_CONF_INPUTS) nginx.conf: $(ALL_NGINX_CONF_INPUTS)
cat $< | \ cat $< | \
sed -e 's@__ROOT__@$(ROOT)@g' \ sed -e 's@__ROOT__@$(ROOT)@g' \
@ -36,4 +36,4 @@ cgiwrap-fcgi.pl: cgiwrap-fcgi.pl.in
cat $< | sed -e 's@__ROOT__@$(ROOT)@g' > $@ cat $< | sed -e 's@__ROOT__@$(ROOT)@g' > $@
.PHONY: serve serve-cgiwrap .PHONY: serve-nginx serve-lighttpd serve-cgiwrap