Christophe
Weblog
Wiki
Code
Publications
Music
projects
/
swankr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0457d9a
)
convenience Makefile for generating html from org files
author
Christophe Rhodes
<csr21@cantab.net>
Fri, 1 Oct 2010 18:20:07 +0000
(19:20 +0100)
committer
Christophe Rhodes
<csr21@cantab.net>
Fri, 1 Oct 2010 18:20:07 +0000
(19:20 +0100)
Makefile
[new file with mode: 0644]
patch
|
blob
diff --git a/Makefile
b/Makefile
new file mode 100644
(file)
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