source:
doc/theses/aaron_moss_PhD/phd/Makefile
@
21cf101
Last change on this file since 21cf101 was b4fd981, checked in by , 6 years ago | |
---|---|
|
|
File size: 1.3 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 | type-environment \ |
26 | resolution-heuristics \ | |
27 | conclusion \ | |
28 | } | |
29 | ||
[3deb316] | 30 | FIGURES = ${addsuffix .eps, \ |
31 | resolution-dag \ | |
[b4fd981] | 32 | union-find-with-classes \ |
33 | persistent-union-find \ | |
[3deb316] | 34 | } |
35 | ||
[6cb935d] | 36 | GRAPHS = ${addsuffix .tex, \ |
37 | generic-timing \ | |
38 | } | |
39 | ||
[62e782e] | 40 | .PHONY : all rebuild-refs clean wc |
[2a9d12d] | 41 | |
42 | all : ${DOCUMENT} | |
43 | ||
44 | clean : | |
[9fce933a] | 45 | @rm -fv ${BUILD}/* |
[2a9d12d] | 46 | |
[62e782e] | 47 | wc : |
48 | wc ${SOURCES} | |
49 | ||
[a72b240] | 50 | ${DOCUMENT} : ${BASE}.ps |
51 | ps2pdf ${BUILD}/$< | |
52 | ||
53 | ${BASE}.ps : ${BASE}.dvi | |
54 | dvips ${BUILD}/$< -o ${BUILD}/$@ | |
[2a9d12d] | 55 | |
[3deb316] | 56 | ${BASE}.dvi : Makefile ${SOURCES} ${GRAPHS} ${FIGURES} ${BIBFILE} ${BUILD} |
[2a9d12d] | 57 | ${LATEX} ${BASE} |
[9fce933a] | 58 | ${BIBTEX} ${BUILD}/${BASE} |
[2a9d12d] | 59 | ${LATEX} ${BASE} |
60 | ${LATEX} ${BASE} | |
[9fce933a] | 61 | |
[6cb935d] | 62 | ${GRAPHS} : generic-timing.gp generic-timing.dat ${BUILD} |
63 | gnuplot -e BUILD="'${BUILD}/'" ${EVALDIR}/generic-timing.gp | |
[a72b240] | 64 | |
[9fce933a] | 65 | ${BUILD}: |
66 | mkdir -p ${BUILD} |
Note: See TracBrowser
for help on using the repository browser.