forked from COPCSE-NTNU/thesis-NTNU
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (26 loc) · 672 Bytes
/
Makefile
File metadata and controls
31 lines (26 loc) · 672 Bytes
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
SRCS=\
$(wildcard appendices/*) \
$(wildcard chapters/*) \
$(wildcard csvtables/*) \
$(wildcard figures/*) \
$(wildcard listings/*) \
$(wildcard papers/*) \
ntnuthesis.cls \
thesis.bib \
glossary.tex \
thesis.tex
LATEX_FLAGS=-shell-escape
BIBER_FLAGS=
mkdir = @mkdir -p $(@D)
thesis.pdf: $(SRCS)
$(mkdir)
pdflatex $(LATEX_FLAGS) thesis
biber $(BIBER_FLAGS) thesis
makeglossaries thesis
pdflatex $(LATEX_FLAGS) thesis
pdflatex $(LATEX_FLAGS) thesis
clean:
-@$(RM) \
$(wildcard thesis-gnuplottex*) \
$(addprefix thesis,.gnuploterrors .aux .bbl .bcf .blg .lof .log .lol .lot .out .pdf .run.xml .toc .acn .glo .ist .acr .alg .glg .gls)
.PHONY: clean