new-ryuslash.org/GNUmakefile
Tom Willemse 830432c238 Update the way the blog is generated
Instead of using a dynamic block to generate the index, use a sitemap function.
2020-03-19 00:11:07 -07:00

18 lines
331 B
Makefile

.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/*