.PHONY: publish html css
site: html css
html:
@echo "Publishing..."
cask emacs --quick --batch --load publish.el --funcall org-publish-all
css: public_html/assets/css/main.css
public/assets/css/%.css: src/less/%.less
lessc $^ $@
clean:
@echo "Cleaning up..."
@rm -rvf *.elc
@rm -rvf public
@rm -rvf ~/.org-timestamps/*