+# Makefile for www.vanrenterghem.biz
+
+.PHONY: all publish rebuild
+
+all: publish rsync
+
+publish: maak-website.el
+ @echo "Publishing... only changed files."
+ emacs --batch --load maak-website.el --funcall org-publish-all
+
+rebuild: maak-website.el
+ @echo "Publishing... total rebuild."
+ emacs --batch --load maak-website.el --eval='(org-publish "website" t)'
+
+rsync:
+ @echo "rsync published site to niihau."
+ rsync --human-readable --archive --verbose target/ --rsh="ssh" frederik@niihau.vanrenterghem.biz:/srv/www2.vanrenterghem.biz/