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