aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'doc/thesis/Makefile')
-rw-r--r--doc/thesis/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/thesis/Makefile b/doc/thesis/Makefile
index d5f02ab..167ad29 100644
--- a/doc/thesis/Makefile
+++ b/doc/thesis/Makefile
@@ -1,5 +1,5 @@
TEX := xelatex
-TEXARGS := -halt-on-error -interaction=nonstopmode
+TEXARGS := -halt-on-error -interaction=nonstopmode -shell-escape=1
SOURCES := \
Fading.tex \
@@ -20,7 +20,10 @@ SOURCES := \
figures/tikz/qam-modulator.tex \
figures/tikz/qam-constellation.tex \
figures/tikz/multipath-sketch.tex \
- figures/tikz/multipath-impulse-response.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))
@@ -34,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))
@@ -42,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