-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (20 loc) · 759 Bytes
/
Makefile
File metadata and controls
25 lines (20 loc) · 759 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
main: aux
#pdflatex -interaction batchmode -shell-escape -output-directory=out -jobname=main main.tex
pdflatex -shell-escape -output-directory=aux -jobname=main main.tex
bibtex aux/main.aux
pdflatex -shell-escape -output-directory=aux -jobname=main main.tex
pdflatex -shell-escape -output-directory=aux -jobname=main main.tex
mv aux/main.pdf .
draft: aux
#pdflatex -interaction batchmode -shell-escape -output-directory=out -jobname=main main.tex
pdflatex -draft -shell-escape -output-directory=aux -jobname=main main.tex
mv aux/main.pdf .
preamble: aux
pdftex -ini -output-directory=aux -jobname=preamble "&pdflatex preamble.tex\\dump"
aux:
mkdir -p aux
clean: clear
clear:
rm -fv main.pdf
rm -rfv aux
.PHONY: aux preamble main clear clean