summaryrefslogtreecommitdiff
path: root/ma/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ma/Makefile')
-rw-r--r--ma/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/ma/Makefile b/ma/Makefile
index f693b51..c3d61b7 100644
--- a/ma/Makefile
+++ b/ma/Makefile
@@ -1,4 +1,6 @@
+LAB_PATH ?= ../lab-windows
+
SHELL := bash
.ONESHELL:
.SHELLFLAGS := -eu -o pipefail -c
@@ -8,11 +10,16 @@ MAKEFLAGS += --no-builtin-rules
all: safety_reset.pdf
+safety_reset.pdf: resources/grid_freq_estimation.pdf
+
%.pdf: %.tex %.bib
pdflatex -shell-escape $<
biber $*
pdflatex -shell-escape $<
+resources/%.pdf: $(LAB_PATH)/%.ipynb
+ jupyter-nbconvert --to=pdf --output-dir=resources --output=$* --LatexExporter.template_file=resources/nbexport.tplx $^
+
.PHONY: clean
clean:
rm -f safety_reset.aux safety_reset.bbl safety_reset.bcf safety_reset.log safety_reset.blg