summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..dcaace8
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+NAME=slides
+FILES=$(NAME).pdf $(NAME).odp $(NAME).html
+
+all: $(FILES)
+
+%.pdf: %.rst
+ rst2xetex $< $(basename $<).tex
+ xelatex $(basename $<).tex
+ xelatex $(basename $<).tex
+
+%.odp: %.rst
+ rst2odp $< $@
+
+%.html: %.rst
+ rst2s5 $< $@
+
+clean:
+ rm -f *.aux *.log *.tex