ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 47e000c was
7039ab9,
checked in by Peter A. Buhr <pabuhr@…>, 4 years ago
|
add xfig figures
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[5a3d67c] | 1 | ### Makefile for Andrew Beach's Masters Thesis |
---|
| 2 | |
---|
[7039ab9] | 3 | DOC = uw-ethesis.pdf |
---|
| 4 | BASE = ${DOC:%.pdf=%} # remove suffix |
---|
| 5 | # directory for latex clutter files |
---|
| 6 | BUILD = build |
---|
| 7 | TEXSRC = $(wildcard *.tex) |
---|
| 8 | FIGSRC = $(wildcard *.fig) |
---|
| 9 | BIBSRC = $(wildcard *.bib) |
---|
| 10 | STYSRC = $(wildcard *.sty) |
---|
| 11 | CLSSRC = $(wildcard *.cls) |
---|
| 12 | TEXLIB = .:../../LaTeXmacros:${BUILD}: # common latex macros |
---|
| 13 | BIBLIB = .:../../bibliography # common citation repository |
---|
| 14 | |
---|
| 15 | MAKEFLAGS = --no-print-directory # --silent |
---|
| 16 | VPATH = ${BUILD} |
---|
[5a3d67c] | 17 | |
---|
| 18 | ### Special Rules: |
---|
| 19 | |
---|
| 20 | .PHONY: all clean deepclean |
---|
[7039ab9] | 21 | .PRECIOUS: %.dvi %.ps # do not delete intermediate files |
---|
[5a3d67c] | 22 | |
---|
| 23 | ### Commands: |
---|
[7039ab9] | 24 | LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${BUILD} |
---|
| 25 | BIBTEX = BIBINPUTS=${BIBLIB} bibtex |
---|
| 26 | GLOSSARY = INDEXSTYLE=${BUILD} makeglossaries-lite |
---|
[5a3d67c] | 27 | |
---|
[7039ab9] | 28 | ### Rules and Recipes: |
---|
[5a3d67c] | 29 | |
---|
| 30 | all: ${DOC} |
---|
| 31 | |
---|
[7039ab9] | 32 | ${BUILD}/%.dvi: ${TEXSRC} ${FIGSRC:.fig=.tex} ${BIBSRC} ${STYSRC} ${CLSSRC} Makefile | ${BUILD} |
---|
[5a3d67c] | 33 | ${LATEX} ${BASE} |
---|
| 34 | ${BIBTEX} ${BUILD}/${BASE} |
---|
[f28fdee] | 35 | ${LATEX} ${BASE} |
---|
[5a3d67c] | 36 | ${GLOSSARY} ${BUILD}/${BASE} |
---|
| 37 | ${LATEX} ${BASE} |
---|
| 38 | |
---|
| 39 | ${BUILD}: |
---|
| 40 | mkdir $@ |
---|
| 41 | |
---|
[7039ab9] | 42 | %.pdf : ${BUILD}/%.ps | ${BUILD} |
---|
| 43 | ps2pdf $< |
---|
| 44 | |
---|
| 45 | %.ps : %.dvi | ${BUILD} |
---|
| 46 | dvips $< -o $@ |
---|
| 47 | |
---|
| 48 | %.tex : %.fig | ${BUILD} |
---|
| 49 | fig2dev -L eepic $< > ${BUILD}/$@ |
---|
| 50 | |
---|
| 51 | %.ps : %.fig | ${BUILD} |
---|
| 52 | fig2dev -L ps $< > ${BUILD}/$@ |
---|
| 53 | |
---|
| 54 | %.pstex : %.fig | ${BUILD} |
---|
| 55 | fig2dev -L pstex $< > ${BUILD}/$@ |
---|
| 56 | fig2dev -L pstex_t -p ${BUILD}/$@ $< > ${BUILD}/$@_t |
---|
| 57 | |
---|
[5a3d67c] | 58 | clean: |
---|
[7039ab9] | 59 | @rm -frv ${BUILD} *.fig.bak |
---|
[5a3d67c] | 60 | |
---|
| 61 | deepclean: clean |
---|
[7039ab9] | 62 | -@rm -fv ${DOC} |
---|
Note: See
TracBrowser
for help on using the repository browser.