Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 25 lines (17 sloc) 0.607 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
include ../include.mk


all debug: ../bin/yaws

../bin/yaws: yaws.ss
sh -x ./mangle `pwd`/.. "$(ERL)" "$(WERL)" yaws.ss ../bin/yaws
@chmod +x ../bin/yaws

local_install: ../bin/yaws
@if [ -f $$HOME/yaws.conf ]; \
           then echo "$$HOME/yaws.conf already exists "; \
else \
sh ./mangle `pwd`/.. "$(ERL)" "$(WERL)" yaws.conf.template.local ${HOME}/yaws.conf; echo "installed yaws.conf in $$HOME "; fi
install -d $$HOME/bin
cp ../bin/yaws $$HOME/bin/yaws


clean:
rm -f ../bin/yaws

install: all .foo

.foo:
sh -x ./Install $(PREFIX) $(INSTALLPREFIX) "$(ERL)" "$(WERL)" $(ETCDIR)
Something went wrong with that request. Please try again.