aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/reedsolomon/Makefile
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-07-31 17:30:44 +0200
committerNao Pross <np@0hm.ch>2021-07-31 17:30:44 +0200
commitd7723ea05fe173c5203961dbc74aadf548338fb0 (patch)
tree12247fbfe674bc7b0f364c19b265ce8bb1059bb3 /buch/papers/reedsolomon/Makefile
parentFix commas and details in references.bib (diff)
parentMerge pull request #58 from Kuehnee/master (diff)
downloadSeminarMatrizen-d7723ea05fe173c5203961dbc74aadf548338fb0.tar.gz
SeminarMatrizen-d7723ea05fe173c5203961dbc74aadf548338fb0.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'buch/papers/reedsolomon/Makefile')
-rw-r--r--buch/papers/reedsolomon/Makefile50
1 files changed, 48 insertions, 2 deletions
diff --git a/buch/papers/reedsolomon/Makefile b/buch/papers/reedsolomon/Makefile
index 9c96e88..25fd98b 100644
--- a/buch/papers/reedsolomon/Makefile
+++ b/buch/papers/reedsolomon/Makefile
@@ -4,6 +4,52 @@
# (c) 2020 Prof Dr Andreas Mueller
#
-images:
- @echo "no images to be created in reedsolomon"
+SOURCES := \
+ anwendungen.tex \
+ codebsp.tex \
+ decmitfehler.tex \
+ decohnefehler.tex \
+ dtf.tex \
+ einleitung.tex \
+ endlichekoerper.tex \
+ hilfstabellen.tex \
+ idee.tex \
+ main.tex \
+ packages.tex \
+ rekonstruktion.tex \
+ restetabelle1.tex \
+ restetabelle2.tex \
+ standalone.tex \
+ zusammenfassung.tex
+
+TIKZFIGURES := \
+ tikz/polynom2.tex \
+ tikz/plotfft.tex
+
+FIGURES := $(patsubst tikz/%.tex, figures/%.pdf, $(TIKZFIGURES))
+
+
+all: images standalone
+
+
+.PHONY: images
+images: $(FIGURES)
+
+figures/%.pdf: tikz/%.tex
+ mkdir -p figures
+ pdflatex --output-directory=figures $<
+
+.PHONY: standalone
+standalone: standalone.tex $(SOURCES) $(FIGURES)
+ mkdir -p standalone
+ cd ../..; \
+ pdflatex \
+ --halt-on-error \
+ --shell-escape \
+ --output-directory=papers/reedsolomon/standalone \
+ papers/reedsolomon/standalone.tex;
+ cd standalone; \
+ bibtex standalone; \
+ makeindex standalone;
+