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