making lighttpd serving the default make target
This commit is contained in:
parent
6c2607df8d
commit
e4974c45db
10
web/Makefile
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user