Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (19 sloc) 0.703 kB
include ../include.mk
all debug: ../bin/yaws yaws.conf
../bin/yaws: yaws.template
VARDIR='$(VARDIR)' ERLBINDIR='$(ERLBINDIR)' \
ERL='$(ERL)' WERL='$(WERL)' ./gen-yaws > $@
chmod +x $@
local_install: ../bin/yaws
VARDIR="${HOME}/var" ./local-install true
yaws.conf:
YAWSDIR='$(PREFIX)/lib/yaws' LOGDIR='$(PREFIX)/var/log/yaws' \
VARDIR='$(VARDIR)' PORT=80 DOCROOT='$(VARDIR)/yaws/www' \
CERTDIR='$(ETCDIR)/yaws' SSLPORT=443 ./gen-yaws-conf > $@
clean:
rm -f ../bin/yaws yaws.conf
install: .install
.install:
PREFIX='$(PREFIX)' ETCDIR='$(ETCDIR)' VARDIR='$(VARDIR)' \
ERLBINDIR='$(ERLBINDIR)' DESTDIR='$(DESTDIR)' \
ERL='$(subst ",,$(ERL))' WERL='$(subst ",,$(WERL))' ./regular-install
Jump to Line
Something went wrong with that request. Please try again.