aboutsummaryrefslogtreecommitdiff
path: root/turris-academy/tos3migration/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-11-30 19:23:46 +0100
committerKarel Kočí <cynerd@email.cz>2021-11-30 19:23:46 +0100
commit592b90d1e5ed9340211a03aa4b405eb7e9b2e792 (patch)
treedad5b362d7c4e0e16249900ca57ea54a3b3d1435 /turris-academy/tos3migration/Makefile
parent4e46ccebb6c10599680c44f6aebe8cda49c8d963 (diff)
downloadpresentations-592b90d1e5ed9340211a03aa4b405eb7e9b2e792.tar.gz
presentations-592b90d1e5ed9340211a03aa4b405eb7e9b2e792.tar.bz2
presentations-592b90d1e5ed9340211a03aa4b405eb7e9b2e792.zip
turris-academy/tos3migration: add presentations about TOS 3.x migration
Diffstat (limited to 'turris-academy/tos3migration/Makefile')
-rw-r--r--turris-academy/tos3migration/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/turris-academy/tos3migration/Makefile b/turris-academy/tos3migration/Makefile
new file mode 100644
index 0000000..4285339
--- /dev/null
+++ b/turris-academy/tos3migration/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