aboutsummaryrefslogtreecommitdiff
path: root/2023-linuxdays/rekonstrukce/makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-10-09 09:41:26 +0200
committerKarel Kočí <cynerd@email.cz>2023-10-09 09:41:26 +0200
commit97b26ad136627c777bbd7a2d3c189996a2f4523b (patch)
tree22f4aeff66fa7033d5ec9b77b81a23c614da5cd3 /2023-linuxdays/rekonstrukce/makefile
parentd2665d506b876d72acf2d301188bcf78d1f30fdc (diff)
downloadpresentations-97b26ad136627c777bbd7a2d3c189996a2f4523b.tar.gz
presentations-97b26ad136627c777bbd7a2d3c189996a2f4523b.tar.bz2
presentations-97b26ad136627c777bbd7a2d3c189996a2f4523b.zip
Add presentation: LinuxDays 2023
Diffstat (limited to '2023-linuxdays/rekonstrukce/makefile')
-rw-r--r--2023-linuxdays/rekonstrukce/makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/2023-linuxdays/rekonstrukce/makefile b/2023-linuxdays/rekonstrukce/makefile
new file mode 100644
index 0000000..7b97a99
--- /dev/null
+++ b/2023-linuxdays/rekonstrukce/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|jpg|eps)$$" | xargs rm -rf