-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (25 loc) · 971 Bytes
/
Copy pathMakefile
File metadata and controls
34 lines (25 loc) · 971 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
32
33
34
# Name of manuscript
manuscript = phdthesis
# Source files
sources = $(wildcard *.tex) references.bib
# PdfLaTeX compilation options
latexopt = -halt-on-error -file-line-error
#=================================================================
# Generate PDF of manuscript using PdfLaTeX
#=================================================================
all: $(manuscript).pdf
$(manuscript).pdf: $(sources)
pdflatex $(latexopt) $(manuscript).tex
bibtex -terse $(manuscript).aux
pdflatex $(latexopt) $(manuscript).tex
pdflatex $(latexopt) $(manuscript).tex
#=================================================================
# Generate Images
#=================================================================
#=================================================================
# Other
#=================================================================
clean:
@rm -f *.aux *.bbl *.blg *.log *.out *.spl *.lof *.lot *.toc \
$(manuscript).pdf
.PHONY: all clean