aboutsummaryrefslogtreecommitdiffstats
path: root/buch/papers/reedsolomon/Makefile
blob: 4be963ec09903a51e9eae8e8fa3a030b5acfe985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#
# Makefile -- make file for the paper reedsolomon
#
# (c) 2020 Prof Dr Andreas Mueller
#

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;