aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/laguerre/Makefile
diff options
context:
space:
mode:
authorPatrik Müller <patrik.mueller@ost.ch>2022-07-14 15:03:28 +0200
committerPatrik Müller <patrik.mueller@ost.ch>2022-07-14 15:03:28 +0200
commitfde57297b3efbef28d09a532e1b3895d2b2ad917 (patch)
treee63c7ac6c5899acb8ba204ccb090b71ca861c50a /buch/papers/laguerre/Makefile
parentBugfix (diff)
downloadSeminarSpezielleFunktionen-fde57297b3efbef28d09a532e1b3895d2b2ad917.tar.gz
SeminarSpezielleFunktionen-fde57297b3efbef28d09a532e1b3895d2b2ad917.zip
Correct Makefile, add text to gamma.tex, separate python-scripts for each image
Diffstat (limited to 'buch/papers/laguerre/Makefile')
-rw-r--r--buch/papers/laguerre/Makefile38
1 files changed, 35 insertions, 3 deletions
diff --git a/buch/papers/laguerre/Makefile b/buch/papers/laguerre/Makefile
index 0f0985a..1ed87cc 100644
--- a/buch/papers/laguerre/Makefile
+++ b/buch/papers/laguerre/Makefile
@@ -3,9 +3,41 @@
#
# (c) 2020 Prof Dr Andreas Mueller
#
+IMGFOLDER := images
+PRESFOLDER := presentation
-images: images/laguerre_polynomes.pdf
+FIGURES := \
+ images/targets.pdf \
+ images/estimates.pgf \
+ images/integrand.pgf \
+ images/integrand_exp.pgf \
+ images/laguerre_poly.pgf \
+ images/rel_error_mirror.pgf \
+ images/rel_error_range.pgf \
+ images/rel_error_shifted.pgf \
+ images/rel_error_simple.pgf \
+ images/gammaplot.pdf
-images/laguerre_polynomes.pdf: scripts/laguerre_plot.py
- python3 scripts/laguerre_plot.py
+.PHONY: all
+all: images presentation
+.PHONY: images
+images: $(FIGURES)
+
+.PHONY: presentation
+presentation: $(PRESFOLDER)/presentation.pdf
+
+images/%.pdf images/%.pgf: scripts/%.py
+ python3 $<
+
+images/gammaplot.pdf: images/gammaplot.tex images/gammapaths.tex
+ cd $(IMGFOLDER) && latexmk -quiet -pdf gammaplot.tex
+
+$(PRESFOLDER)/%.pdf: $(PRESFOLDER)/%.tex $(FIGURES)
+ cd $(PRESFOLDER) && latexmk -quiet -pdf $(<F)
+
+.PHONY: clean
+clean:
+ rm $(FIGURES)
+ cd $(IMGFOLDER) && latexmk -C
+ cd $(PRESFOLDER) && latexmk -C \ No newline at end of file