aboutsummaryrefslogtreecommitdiff
path: root/2019-installfest/gitolite/makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2019-03-03 16:30:52 +0100
committerKarel Kočí <cynerd@email.cz>2019-03-03 16:30:52 +0100
commit03edb3c33f5ce3ea5cedc433ebb2026533acf787 (patch)
tree3f54a249ead6ddc8e62b5233e1039b2533baad05 /2019-installfest/gitolite/makefile
parent0fef5a870e748d47ef1992b1ba88834551881515 (diff)
downloadpresentations-03edb3c33f5ce3ea5cedc433ebb2026533acf787.tar.gz
presentations-03edb3c33f5ce3ea5cedc433ebb2026533acf787.tar.bz2
presentations-03edb3c33f5ce3ea5cedc433ebb2026533acf787.zip
Installfest 2019: gitolite
Diffstat (limited to '2019-installfest/gitolite/makefile')
-rw-r--r--2019-installfest/gitolite/makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/2019-installfest/gitolite/makefile b/2019-installfest/gitolite/makefile
new file mode 100644
index 0000000..7b97a99
--- /dev/null
+++ b/2019-installfest/gitolite/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