summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2018-05-30 19:26:45 +0200
committerMatěj Cepl <mcepl@cepl.eu>2018-05-30 19:26:45 +0200
commitb1260186489dd55a07f31237dbf6bd51e0040508 (patch)
tree8038c4dceb5bce574b7e172ed2561cc367be2f7c /Makefile
parentbdaafabc6c7cdd935a812e45e3e3b773b1fe0b3b (diff)
downloadPyCon18-m2crypto-b1260186489dd55a07f31237dbf6bd51e0040508.tar.gz
Add Makefile
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