|
|
|
@ -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
|
|
|
|
|