forked from SERG-Delft/phd-thesis-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·29 lines (18 loc) · 890 Bytes
/
Makefile
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
.PHONY: force-build
all: dissertation.pdf propositions.pdf dissertation_print.pdf
force-build:
figs: figs/development_model_without_papers.pdf figs/development_model_just_papers.pdf
figs/development_model_without_papers.pdf:
rsvg-convert -f pdf -o figs/development_model_without_papers.pdf figs/development_model_without_papers.svg
figs/development_model_just_papers.pdf:
rsvg-convert -f pdf -o figs/development_model_just_papers.pdf figs/development_model_just_papers.svg
dissertation.pdf: figs force-build
latexmk -xelatex dissertation
makeglossaries dissertation
propositions.pdf: force-build
latexmk -xelatex propositions
dissertation_print.pdf: dissertation.pdf
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -dEmbedAllFonts=true -sOutputFile=dissertation_print.pdf -f dissertation.pdf
clean:
rubber --clean dissertation.tex
rm -f dissertation.pdf