SHELL = bash TARGET = _ewww@web:/srv/http all: gtdfh.html gtdfh.html: index.mdwn gtdfh.css Makefile pandoc -f markdown+implicit_figures --toc --self-contained -N \ --metadata title="GTDFH" --metadata subtitle="Getting Things Done for Hackers" \ -H <(echo "") --standalone index.mdwn -o gtdfh.html publish: all mkdir publish cp -a gtdfh.html publish/index.html cp gtdfh.css publish rsync -a --del publish/. $(TARGET)/. rm -r publish