aboutsummaryrefslogtreecommitdiff
path: root/thesis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'thesis/Makefile')
-rw-r--r--thesis/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/thesis/Makefile b/thesis/Makefile
new file mode 100644
index 0000000..3725d61
--- /dev/null
+++ b/thesis/Makefile
@@ -0,0 +1,14 @@
+graphs := assets/insert.png assets/contains.png
+
+default: main.pdf
+
+main.pdf: $(graphs) $(shell find . -iname '*.tex') biblio.bib
+ latexmk -pdf
+
+$(graphs): assets/%.png: assets/${subst png,json,%}.json
+ vl2png ${subst png,json,$@} $@
+
+.PHONY: clean
+clean:
+ latexmk -c
+ rm -f assets/*.png