aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/thesis/Makefile')
-rw-r--r--doc/thesis/Makefile19
1 files changed, 14 insertions, 5 deletions
diff --git a/doc/thesis/Makefile b/doc/thesis/Makefile
index 7095689..167ad29 100644
--- a/doc/thesis/Makefile
+++ b/doc/thesis/Makefile
@@ -1,11 +1,12 @@
TEX := xelatex
-TEXARGS := -halt-on-error -interaction=nonstopmode
+TEXARGS := -halt-on-error -interaction=nonstopmode -shell-escape=1
SOURCES := \
Fading.tex \
Fading.bib \
\
tex/docmacros.sty \
+ tex/docstyle.sty \
tex/preamble.tex \
tex/titlepage.tex \
\
@@ -15,9 +16,14 @@ SOURCES := \
chapters/conclusions.tex \
\
figures/tikz/overview.tex \
- figures/tikz/qpsk-constellation.tex \
+ figures/tikz/psk-constellation.tex \
figures/tikz/qam-modulator.tex \
- figures/tikz/qam-constellation.tex
+ figures/tikz/qam-constellation.tex \
+ figures/tikz/multipath-sketch.tex \
+ figures/tikz/multipath-impulse-response.tex \
+ figures/tikz/multipath-frequency-response-plots.tex
+
+DATA := figures/data/multipath_frequency_response.dat
# Get the main file from the file
MAIN := $(shell sed -ne 's/^.*\!TeX root =\(.*\)$$/\1/ p' $(SOURCES))
@@ -31,7 +37,10 @@ endif
.PHONY: all
all: $(PDF)
-%.pdf: %.tex $(SOURCES)
+%.dat: %.py
+ /usr/bin/env python3 $<
+
+%.pdf: %.tex $(SOURCES) $(DATA)
$(TEX) $(TEXARGS) $<
# TODO: makeindex
biber $(basename $(MAIN))
@@ -39,7 +48,7 @@ all: $(PDF)
.PHONY: clean cleanall
clean:
- @rm -vf *.aux *.aue *.lof *.log *.lot *.fls *.out *.toc *.fmt *.fot *.cb *.cb2 .*.lb *.dvi *.xdv *-converted-to.* *.bbl *.bcf *.blg *-blx.aux *-blx.bib *.run.xml *.fdb_latexmk *.synctex *.synctex\(busy\) *.synctex.gz *.synctex.gz\(busy\) *.pdfsync *.alg *.loa acs-*.bib *.thm *.nav *.pre *.snm *.vrb *.soc *.cut *.cpt *.spl *.ent *.lox *.mf *.acn *.acr *.glg *.glo *.gls *.glsdefs *.lzo *.lzs *.lol
+ @rm -vf *.aux *.aue *.lof *.log *.lot *.fls *.out *.toc *.fmt *.fot *.cb *.cb2 .*.lb *.dvi *.xdv *-converted-to.* *.bbl *.bcf *.blg *-blx.aux *-blx.bib *.run.xml *.fdb_latexmk *.synctex *.synctex\(busy\) *.synctex.gz *.synctex.gz\(busy\) *.pdfsync *.alg *.loa acs-*.bib *.thm *.nav *.pre *.snm *.vrb *.soc *.cut *.cpt *.spl *.ent *.lox *.mf *.acn *.acr *.glg *.glo *.gls *.glsdefs *.lzo *.lzs *.lol *.auxlock *.figlist
@rm -vf tex/*.aux
@rm -vf chapters/*.aux