aboutsummaryrefslogtreecommitdiff
path: root/2017-meetandcode/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '2017-meetandcode/Makefile')
-rw-r--r--2017-meetandcode/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/2017-meetandcode/Makefile b/2017-meetandcode/Makefile
new file mode 100644
index 0000000..5366756
--- /dev/null
+++ b/2017-meetandcode/Makefile
@@ -0,0 +1,10 @@
+FILE=pres
+
+$(FILE).pdf: $(FILE).tex $(patsubst %.svg,%.pdf,$(wildcard *.svg))
+ pdflatex -shell-escape $<
+
+%.pdf: %.svg
+ inkscape -D -z --file=$< --export-pdf=$@ --export-latex
+
+clean:
+ ls | grep -v -E "($(FILE).tex|Makefile|scheme|svg|png|eps)$$" | xargs rm -rf