From a9fa965ad1abc957eb83c002a873e851089ead74 Mon Sep 17 00:00:00 2001 From: Aria Shrimpton Date: Wed, 27 Mar 2024 11:03:58 +0000 Subject: switch to make for building thesis --- thesis/Justfile | 14 -------------- thesis/Makefile | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 thesis/Justfile create mode 100644 thesis/Makefile (limited to 'thesis') diff --git a/thesis/Justfile b/thesis/Justfile deleted file mode 100644 index 2780fb9..0000000 --- a/thesis/Justfile +++ /dev/null @@ -1,14 +0,0 @@ -default: build - -build: graphs - latexmk -pdf - -graphs: - for f in assets/*.json; do vl2png -s 1.5 $f ${f/json/png}; done - -watch-latex: - latexmk -pdf -pvc - -clean: - latexmk -c - rm -f assets/*.png 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 -- cgit v1.2.3