forked from crbates/ans-winter-2014-sum-pres
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·39 lines (29 loc) · 778 Bytes
/
Makefile
File metadata and controls
executable file
·39 lines (29 loc) · 778 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
35
36
37
38
39
manuscript = answinter
references = answinter
latexopt = -halt-on-error -file-line-error
all: all-via-pdf r2s
all-via-pdf: $(manuscript).tex $(references).bib
pdflatex $(latexopt) $(manuscript)
bibtex $(manuscript).aux
pdflatex $(latexopt) $(manuscript)
pdflatex $(latexopt) $(manuscript)
all-via-dvi:
latex $(latexopt) $(manuscript)
bibtex $(manuscript).aux
latex $(latexopt) $(manuscript)
latex $(latexopt) $(manuscript)
dvipdf $(manuscript)
clean:
rm -f *.pdf *.dvi *.toc *.aux *.out *.log *.bbl *.blg *.log *.spl *~ *.spl *.zip
realclean: clean
rm -rf $(manuscript).dvi
rm -f $(manuscript).pdf
%.ps :%.eps
convert $< $@
%.png :%.eps
convert $< $@
zip:
zip paper.zip *.tex *.eps *.bib
r2s:
dot -Tpdf -l r2s.ps r2s.dot -o r2s.pdf
.PHONY: all clean