summaryrefslogtreecommitdiff
path: root/ma/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ma/Makefile')
-rw-r--r--ma/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/ma/Makefile b/ma/Makefile
index 4458082..bc552a2 100644
--- a/ma/Makefile
+++ b/ma/Makefile
@@ -15,11 +15,14 @@ safety_reset.pdf: resources/gps_clock_jitter_analysis.pdf
safety_reset.pdf: resources/dsss_experiments-ber.pdf
safety_reset.pdf: resources/freq_meas_validation_rocof_testsuite.pdf
-%.pdf: %.tex %.bib
+%.pdf: %.tex %.bib version.tex
pdflatex -shell-escape $<
biber $*
pdflatex -shell-escape $<
+version.tex: safety_reset.tex safety_reset.bib
+ git describe --tags --long --dirty > $@
+
resources/%.pdf: $(LAB_PATH)/%.ipynb
jupyter-nbconvert --to=pdf --output-dir=resources --output=$* --LatexExporter.template_file=resources/nbexport.tplx $^