source: doc/theses/andrew_beach_MMath/Makefile @ 6047b00

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 6047b00 was 79c14d6, checked in by Peter A. Buhr <pabuhr@…>, 4 years ago

fix naming from uw-thesis.tex to uw-ethesis.tex

  • Property mode set to 100644
File size: 895 bytes
RevLine 
[5a3d67c]1### Makefile for Andrew Beach's Masters Thesis
2
[79c14d6]3DOC=uw-ethesis.pdf
[5a3d67c]4BUILD=out
5TEXSRC=$(wildcard *.tex)
6BIBSRC=$(wildcard *.bib)
[c88f0cf]7STYSRC=$(wildcard *.sty)
8CLSSRC=$(wildcard *.cls)
[f28fdee]9TEXLIB= .:../../LaTeXmacros:${BUILD}:
[5a3d67c]10BIBLIB= .:../../bibliography
11
12# Since tex programs like to add their own file extensions:
13BASE= ${DOC:%.pdf=%}
14
15### Special Rules:
16
17.PHONY: all clean deepclean
18
19### Commands:
20LATEX=TEXINPUTS=${TEXLIB} pdflatex -halt-on-error -output-directory=${BUILD}
21BIBTEX=BIBINPUTS=${BIBLIB} bibtex
22GLOSSARY=INDEXSTYLE=${BUILD} makeglossaries-lite
23
24### Rules and Recipies:
25
26all: ${DOC}
27
[c88f0cf]28${BUILD}/${DOC}: ${TEXSRC} ${BIBSRC} ${STYSRC} ${CLSSRC} Makefile | ${BUILD}
[5a3d67c]29        ${LATEX} ${BASE}
30        ${BIBTEX} ${BUILD}/${BASE}
[f28fdee]31        ${LATEX} ${BASE}
[5a3d67c]32        ${GLOSSARY} ${BUILD}/${BASE}
33        ${LATEX} ${BASE}
34
35${DOC}: ${BUILD}/${DOC}
36        cp $< $@
37
38${BUILD}:
39        mkdir $@
40
41clean:
42        -@rm -rv ${BUILD}
43
44deepclean: clean
45        -@rm -v ${DOC}
Note: See TracBrowser for help on using the repository browser.