source: doc/theses/aaron_moss/phd/Makefile@ 7ff01ff

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 stuck-waitfor-destruct
Last change on this file since 7ff01ff was 9fce933a, checked in by Aaron Moss <a3moss@…>, 8 years ago

Clean up build system for PhD thesis

  • Property mode set to 100644
File size: 797 bytes
RevLine 
[9fce933a]1BUILD = build
2BIBDIR = ../../../bibliography
3TEXLIB = .:${BUILD}:${BIBDIR}:
4
5LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && pdflatex -interaction= -output-directory=${BUILD}
6BIBTEX = BIBINPUTS=${TEXLIB} && export BIBINPUTS && bibtex
[2a9d12d]7
8BASE = thesis
9DOCUMENT = ${BASE}.pdf
[9fce933a]10BIBFILE = ${BIBDIR}/pl.bib
[2a9d12d]11
[62e782e]12SOURCES = ${addsuffix .tex, \
13thesis \
[0cf9ffd]14macros \
15cfa-macros \
[62e782e]16frontpgs \
17introduction \
18background \
19type-environment \
20resolution-heuristics \
21conclusion \
22}
23
24.PHONY : all rebuild-refs clean wc
[2a9d12d]25
26all : ${DOCUMENT}
27
28clean :
[9fce933a]29 @rm -fv ${BUILD}/*
[2a9d12d]30
[62e782e]31wc :
32 wc ${SOURCES}
33
[9fce933a]34${DOCUMENT} : ${SOURCES} ${BUILD}
[2a9d12d]35 ${LATEX} ${BASE}
36 ${LATEX} ${BASE}
37
[9fce933a]38rebuild-refs : ${SOURCES} ${BIBFILE} ${BUILD}
[2a9d12d]39 ${LATEX} ${BASE}
[9fce933a]40 ${BIBTEX} ${BUILD}/${BASE}
[2a9d12d]41 ${LATEX} ${BASE}
42 ${LATEX} ${BASE}
[9fce933a]43
44${BUILD}:
45 mkdir -p ${BUILD}
Note: See TracBrowser for help on using the repository browser.