# vim: set ft=make : root := `pwd` # Build static website build: tup build # Generate dependency graph as PNG file graph: tup graph . | dot -Tpng > graph.png # Deploy up-to-date website to webserver deploy: build rsync --checksum --copy-links -ave 'ssh' \ --exclude-from=rsync_excludes.txt \ build/* fabs@ffreling.com:ffreling.com/ preview: build python -m webbrowser -t "file://{{root}}/build/index.html"