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