-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
25 lines (18 loc) · 810 Bytes
/
Makefile
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
SRC=algorithm.tex deductions.tex invariant.tex background.tex definitions.tex learning.tex cdcl.tex domains.tex literals-clauses.tex conclusion.tex example.tex paper.tex contributions.tex experiments.tex decision.tex introduction.tex symbols.tex appendix.tex
TARGET=paper
BIB=biblio.bib
all: ${TARGET}.pdf
${TARGET}.dvi: ${TARGET}.tex ${BIB} ${SRC}
latex ${TARGET}.tex
bibtex ${TARGET}
latex ${TARGET}.tex
latex ${TARGET}.tex
${TARGET}.ps: ${TARGET}.dvi
dvips -t a4 -Ppdf -G0 -o ${TARGET}.ps ${TARGET}.dvi
${TARGET}.pdf: ${TARGET}.ps
ps2pdf -sPAPERSIZE=a4 -dCompatibilityLevel=1.4 -dSubsetFonts=true -dEmbedAllFonts=true -dPDFSETTINGS=/prepress ${TARGET}.ps ${TARGET}.pdf
clean:
rm -f ${TARGET}.{log,aux,dvi,bbl,blg,toc,ps,pdf,out}
purge: clean
rm -f ${TARGET}.pdf
PHONY : all clean purge