new-ryuslash.org/GNUmakefile

16 lines
310 B
Makefile

.PHONY: site html css
site: html css
html: public_html/index.html
css: public_html/assets/css/main.css
public_html/%.html: %.org
emacs -batch \
-funcall package-initialize \
-load project-config.el \
-funcall publish-ryuslash.org
public_html/assets/css/%.css: src/less/%.less
lessc $^ $@