From: Christophe Rhodes Date: Fri, 1 Oct 2010 18:20:07 +0000 (+0100) Subject: convenience Makefile for generating html from org files X-Git-Url: http://christophe.rhodes.io/gitweb/?p=swankr.git;a=commitdiff_plain;h=7b84546419ddbfc60ed2161f269aa75934330cfe convenience Makefile for generating html from org files --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..fe09927 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +WEBFILES=README.html BUGS.html TODO.html + +web: $(WEBFILES) + +README.html: README + emacs --batch --visit README --eval '(org-export-as-html nil)' + +%.html: %.org + emacs --batch --visit $^ --eval '(org-export-as-html nil)' + +clean: + -rm $(WEBFILES) + +.PHONY: web clean