source: doc/theses/aaron_moss_PhD/phd/Makefile@ a72b240

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr no_list persistent-indexer pthread-emulation qualifiedEnum
Last change on this file since a72b240 was a72b240, checked in by Aaron Moss <a3moss@…>, 7 years ago

switched thesis to use latex instead of pdflatex

  • Property mode set to 100644
File size: 1.2 KB
Line 
1BUILD = build
2BIBDIR = ../../../bibliography
3TEXLIB = .:${BUILD}:${BIBDIR}:
4
5# LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && pdflatex -interaction=nonstopmode -halt-on-error -output-directory=${BUILD}
6LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${BUILD}
7BIBTEX = BIBINPUTS=${TEXLIB} && export BIBINPUTS && bibtex
8
9BASE = thesis
10DOCUMENT = ${BASE}.pdf
11BIBFILE = ${BIBDIR}/pl.bib
12
13SOURCES = ${addsuffix .tex, \
14thesis \
15macros \
16cfa-macros \
17frontpgs \
18introduction \
19background \
20generic-types \
21type-environment \
22resolution-heuristics \
23conclusion \
24}
25
26.PHONY : all rebuild-refs clean wc
27
28all : ${DOCUMENT}
29
30clean :
31 @rm -fv ${BUILD}/*
32
33wc :
34 wc ${SOURCES}
35
36${DOCUMENT} : ${BASE}.ps
37 ps2pdf ${BUILD}/$<
38
39${BASE}.ps : ${BASE}.dvi
40 dvips ${BUILD}/$< -o ${BUILD}/$@
41
42${BASE}.dvi : Makefile ${SOURCES} ${BIBFILE} ${BUILD}
43 ${LATEX} ${BASE}
44 ${BIBTEX} ${BUILD}/${BASE}
45 ${LATEX} ${BASE}
46 ${LATEX} ${BASE}
47
48# ${DOCUMENT} : Makefile ${SOURCES} ${BUILD}
49# ${LATEX} ${BASE}
50# ${LATEX} ${BASE}
51
52# rebuild-refs : Makefile ${SOURCES} ${BIBFILE} ${BUILD}
53# ${LATEX} ${BASE}
54# ${BIBTEX} ${BUILD}/${BASE}
55# ${LATEX} ${BASE}
56# ${LATEX} ${BASE}
57
58${BUILD}:
59 mkdir -p ${BUILD}
Note: See TracBrowser for help on using the repository browser.