19 lines
251 B
Makefile
19 lines
251 B
Makefile
TARGET=site
|
|
|
|
all: site.hs
|
|
ghc $< -o ${TARGET}
|
|
|
|
build: all
|
|
./${TARGET} build
|
|
|
|
tup:
|
|
tup build
|
|
|
|
graph:
|
|
tup graph . | dot -Tpng > graph.png
|
|
|
|
deploy:
|
|
rsync --checksum -ave 'ssh -p 4242' \
|
|
build/* fab@ffreling.com:public_html/ffreling.com/public/
|
|
|