forked from katyhuff/CV
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (25 loc) · 868 Bytes
/
Makefile
File metadata and controls
32 lines (25 loc) · 868 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
manuscript = cv
references = $(wildcard *.bib)
latexopt = -halt-on-error -file-line-error
.DEFAULT_GOAL := pdf
pdf: $(manuscript).tex $(references)
pdflatex $(latexopt) $(manuscript)
biber $(manuscript)
pdflatex $(latexopt) $(manuscript)
pdflatex $(latexopt) $(manuscript)
$(MAKE) clean
pdf-dbg: $(manuscript).tex $(references)
pdflatex $(latexopt) $(manuscript)
bibtex $(manuscript)
pdflatex $(latexopt) $(manuscript)
pdflatex $(latexopt) $(manuscript)
epub:
latex $(latexopt) $(manuscript)
bibtex $(manuscript)
mk4ht htlatex $(manuscript).tex 'xhtml,charset=utf-8,pmathml' ' -cunihtf -utf8 -cvalidate'
ebook-convert $(manuscript).html $(manuscript).epub
clean:
rm -f *.dvi *.toc *.aux *.out *.log *.bbl *.blg *.spl *~ *.zip \
*.acn *.glo *.ist *.epub *.fdb_latexmk *.lof *.fls *.lot \
*.bcf *.xml
.PHONY: pdf pdf-dbg epub clean