aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/reedsolomon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--buch/papers/reedsolomon/Makefile50
-rw-r--r--buch/papers/reedsolomon/Makefile.inc18
2 files changed, 61 insertions, 7 deletions
diff --git a/buch/papers/reedsolomon/Makefile b/buch/papers/reedsolomon/Makefile
index 9c96e88..4be963e 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/fourier.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;
+
diff --git a/buch/papers/reedsolomon/Makefile.inc b/buch/papers/reedsolomon/Makefile.inc
index 6a676f8..ea51f7a 100644
--- a/buch/papers/reedsolomon/Makefile.inc
+++ b/buch/papers/reedsolomon/Makefile.inc
@@ -6,9 +6,17 @@
dependencies-reedsolomon = \
papers/reedsolomon/packages.tex \
papers/reedsolomon/main.tex \
- papers/reedsolomon/references.bib \
- papers/reedsolomon/teil0.tex \
- papers/reedsolomon/teil1.tex \
- papers/reedsolomon/teil2.tex \
- papers/reedsolomon/teil3.tex
+ papers/reedsolomon/einleitung.tex \
+ papers/reedsolomon/idee.tex \
+ papers/reedsolomon/dtf.tex \
+ papers/reedsolomon/endlichekoerper.tex \
+ papers/reedsolomon/codebsp.tex \
+ papers/reedsolomon/decohnefehler.tex \
+ papers/reedsolomon/decmitfehler.tex \
+ papers/reedsolomon/rekonstruktion.tex \
+ papers/reedsolomon/zusammenfassung.tex \
+ papers/reedsolomon/anwendungen.tex \
+ papers/reedsolomon/hilfstabellen.tex \
+ papers/reedsolomon/references.bib
+