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