aboutsummaryrefslogtreecommitdiff
path: root/2018-csnog/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '2018-csnog/Makefile')
-rw-r--r--2018-csnog/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/2018-csnog/Makefile b/2018-csnog/Makefile
new file mode 100644
index 0000000..678434e
--- /dev/null
+++ b/2018-csnog/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|no-r.*pdf|with-r.*pdf|data|Makefile|theme|svg|png|eps)$$" | xargs rm -rf