/ Makefile
Makefile
 1  all: render
 2  
 3  render:
 4  	boring markdown/ templates/ static/
 5  
 6  publish: sign render
 7  	rsync -av static/ suah.dev:/var/www/deftly.net/
 8  
 9  watch:
10  	find . | grep -v .git | entr -r -s 'make && boring -port :1234 -w -wdir markdown  -wsrv static/'
11  
12  sign:
13  	(cd static; sha256 posts/*.html > posts/SHA256)
14  	gpg2 --output static/posts/SHA256.sig --detach-sig static/posts/SHA256