source:
doc/theses/aaron_moss_PhD/phd/Makefile
@
60f214a
Last change on this file since 60f214a was 060b12d, checked in by , 6 years ago | |
---|---|
|
|
File size: 1.8 KB |
Rev | Line | |
---|---|---|
[9fce933a] | 1 | BUILD = build |
2 | BIBDIR = ../../../bibliography | |
[6cb935d] | 3 | EVALDIR = evaluation |
[3deb316] | 4 | FIGDIR = figures |
[9fce933a] | 5 | TEXLIB = .:${BUILD}:${BIBDIR}: |
6 | ||
[a72b240] | 7 | # LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && pdflatex -interaction=nonstopmode -halt-on-error -output-directory=${BUILD} |
8 | LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${BUILD} | |
[9fce933a] | 9 | BIBTEX = BIBINPUTS=${TEXLIB} && export BIBINPUTS && bibtex |
[2a9d12d] | 10 | |
[3deb316] | 11 | VPATH = ${EVALDIR} ${FIGDIR} |
[6cb935d] | 12 | |
[2a9d12d] | 13 | BASE = thesis |
14 | DOCUMENT = ${BASE}.pdf | |
[9fce933a] | 15 | BIBFILE = ${BIBDIR}/pl.bib |
[2a9d12d] | 16 | |
[62e782e] | 17 | SOURCES = ${addsuffix .tex, \ |
18 | thesis \ | |
[0cf9ffd] | 19 | macros \ |
20 | cfa-macros \ | |
[62e782e] | 21 | frontpgs \ |
22 | introduction \ | |
23 | background \ | |
[48b7085e] | 24 | generic-types \ |
[62e782e] | 25 | resolution-heuristics \ |
[0e6a0beb] | 26 | type-environment \ |
27 | experiments \ | |
[62e782e] | 28 | conclusion \ |
29 | } | |
30 | ||
[3deb316] | 31 | FIGURES = ${addsuffix .eps, \ |
[902b123] | 32 | safe-conv-graph \ |
[3deb316] | 33 | resolution-dag \ |
[b4fd981] | 34 | union-find-with-classes \ |
35 | persistent-union-find \ | |
[3deb316] | 36 | } |
37 | ||
[6cb935d] | 38 | GRAPHS = ${addsuffix .tex, \ |
39 | generic-timing \ | |
[72b20c9] | 40 | tests-completed \ |
[4c41b17] | 41 | per-prob-histo \ |
[060b12d] | 42 | per-prob-depth \ |
[6cb935d] | 43 | } |
44 | ||
[62e782e] | 45 | .PHONY : all rebuild-refs clean wc |
[2a9d12d] | 46 | |
47 | all : ${DOCUMENT} | |
48 | ||
49 | clean : | |
[9fce933a] | 50 | @rm -fv ${BUILD}/* |
[2a9d12d] | 51 | |
[62e782e] | 52 | wc : |
53 | wc ${SOURCES} | |
54 | ||
[a72b240] | 55 | ${DOCUMENT} : ${BASE}.ps |
56 | ps2pdf ${BUILD}/$< | |
57 | ||
58 | ${BASE}.ps : ${BASE}.dvi | |
59 | dvips ${BUILD}/$< -o ${BUILD}/$@ | |
[2a9d12d] | 60 | |
[3deb316] | 61 | ${BASE}.dvi : Makefile ${SOURCES} ${GRAPHS} ${FIGURES} ${BIBFILE} ${BUILD} |
[2a9d12d] | 62 | ${LATEX} ${BASE} |
[9fce933a] | 63 | ${BIBTEX} ${BUILD}/${BASE} |
[2a9d12d] | 64 | ${LATEX} ${BASE} |
65 | ${LATEX} ${BASE} | |
[9fce933a] | 66 | |
[72b20c9] | 67 | generic-timing.tex : generic-timing.gp generic-timing.dat ${BUILD} |
[6cb935d] | 68 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/generic-timing.gp |
[72b20c9] | 69 | |
70 | tests-completed.tex : algo-summary.gp algo-summary.dat bu-summary.dat ${BUILD} | |
71 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/algo-summary.gp | |
[a72b240] | 72 | |
[4c41b17] | 73 | per-prob-histo.tex : per-prob.gp per-prob.tsv ${BUILD} |
74 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/per-prob.gp | |
75 | ||
[060b12d] | 76 | per-prob-depth.tex : per-prob-scatter.gp ${BUILD} |
77 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/per-prob-scatter.gp | |
78 | ||
[9fce933a] | 79 | ${BUILD}: |
80 | mkdir -p ${BUILD} |
Note: See TracBrowser
for help on using the repository browser.