diff options
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/GNUmakefile b/GNUmakefile index b20b224..0bd2d65 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,16 +1,18 @@ -.PHONY: site html css +.PHONY: publish html css site: html css -html: public_html/index.html +html: + @echo "Publishing..." + cask emacs --quick --batch --load publish.el --funcall org-publish-all css: public_html/assets/css/main.css -public_html/%.html: %.org - cask emacs -batch \ - -funcall package-initialize \ - -load project-config.el \ - -funcall publish-ryuslash.org - -public_html/assets/css/%.css: src/less/%.less +public/assets/css/%.css: src/less/%.less lessc $^ $@ + +clean: + @echo "Cleaning up..." + @rm -rvf *.elc + @rm -rvf public + @rm -rvf ~/.org-timestamps/* |