-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
22 lines (17 loc) · 823 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
all: main.pdf frontAndBackCoversOnly.pdf
# consider all bib files and tex files from root + tex files from subfolders
main.pdf: *.tex *.bib **/*.tex
# -shell-escape is compulsory if you are using the minted LaTeX package (because it calls the pygmentize Linux package)
pdflatex -shell-escape main.tex
biber main
# makeglossaries main # uncomment if you are using glossaries package
pdflatex -shell-escape main.tex
pdflatex -shell-escape main.tex
# three compilations so that all refs are correct
frontAndBackCoversOnly.pdf: *.tex **/*.tex
pdflatex frontAndBackCoversOnly.tex
pdflatex frontAndBackCoversOnly.tex
clean:
rm -f *.aux *.log *~ *.bbl *.blg *.dvi *.toc *.out *.bcf *.run.xml *.acn *.acr *.alg *.glg *.glo *.gls *.ist *.lof *.lot *.maf *.mtc*
Clean: clean
rm -rf main.pdf frontAndBackCoversOnly.pdf