aboutsummaryrefslogtreecommitdiff
path: root/2023-linuxdays/usbkey/makefile
diff options
context:
space:
mode:
Diffstat (limited to '2023-linuxdays/usbkey/makefile')
-rw-r--r--2023-linuxdays/usbkey/makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/2023-linuxdays/usbkey/makefile b/2023-linuxdays/usbkey/makefile
new file mode 100644
index 0000000..7b97a99
--- /dev/null
+++ b/2023-linuxdays/usbkey/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