ADTast-experimentalenumpthread-emulationqualifiedEnum
Last change
on this file since 1860885 was
1eec0b0,
checked in by Peter A. Buhr <pabuhr@…>, 2 years ago
|
organizes figures into directories, update Makefile, add text from allocator paper as starting point
|
-
Property mode set to
100644
|
File size:
1.6 KB
|
Line | |
---|
1 | # directory for latex clutter files |
---|
2 | Build = build |
---|
3 | Figures = figures |
---|
4 | Pictures = pictures |
---|
5 | TeXSRC = ${wildcard *.tex} |
---|
6 | FigSRC = ${notdir ${wildcard ${Figures}/*.fig}} |
---|
7 | PicSRC = ${notdir ${wildcard ${Pictures}/*.fig}} |
---|
8 | BIBSRC = ${wildcard *.bib} |
---|
9 | TeXLIB = .:../../LaTeXmacros:${Build}: # common latex macros |
---|
10 | BibLIB = .:../../bibliography # common citation repository |
---|
11 | |
---|
12 | MAKEFLAGS = --no-print-directory # --silent |
---|
13 | VPATH = ${Build} ${Figures} ${Pictures} # extra search path for file names used in document |
---|
14 | |
---|
15 | ### Special Rules: |
---|
16 | |
---|
17 | .PHONY: all clean |
---|
18 | .PRECIOUS: %.dvi %.ps # do not delete intermediate files |
---|
19 | |
---|
20 | ### Commands: |
---|
21 | |
---|
22 | LaTeX = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build} |
---|
23 | BibTeX = BIBINPUTS=${BibLIB} bibtex |
---|
24 | #Glossary = INDEXSTYLE=${Build} makeglossaries-lite |
---|
25 | |
---|
26 | ### Rules and Recipes: |
---|
27 | |
---|
28 | DOC = uw-ethesis.pdf |
---|
29 | BASE = ${DOC:%.pdf=%} # remove suffix |
---|
30 | |
---|
31 | all: ${DOC} |
---|
32 | |
---|
33 | clean: |
---|
34 | @rm -frv ${DOC} ${Build} |
---|
35 | |
---|
36 | # File Dependencies # |
---|
37 | |
---|
38 | ${Build}/%.dvi : ${TeXSRC} ${FigSRC:%.fig=%.tex} ${PicSRC:%.fig=%.pstex} ${BIBSRC} Makefile | ${Build} |
---|
39 | ${LaTeX} ${BASE} |
---|
40 | ${BibTeX} ${Build}/${BASE} |
---|
41 | ${LaTeX} ${BASE} |
---|
42 | # if nedded, run latex again to get citations |
---|
43 | if fgrep -s "LaTeX Warning: Citation" ${basename $@}.log ; then ${LaTeX} ${BASE} ; fi |
---|
44 | # ${Glossary} ${Build}/${BASE} |
---|
45 | # ${LaTeX} ${BASE} |
---|
46 | |
---|
47 | ${Build}: |
---|
48 | mkdir $@ |
---|
49 | |
---|
50 | %.pdf : ${Build}/%.ps | ${Build} |
---|
51 | ps2pdf $< |
---|
52 | |
---|
53 | %.ps : %.dvi | ${Build} |
---|
54 | dvips $< -o $@ |
---|
55 | |
---|
56 | %.tex : %.fig | ${Build} |
---|
57 | fig2dev -L eepic $< > ${Build}/$@ |
---|
58 | |
---|
59 | %.ps : %.fig | ${Build} |
---|
60 | fig2dev -L ps $< > ${Build}/$@ |
---|
61 | |
---|
62 | %.pstex : %.fig | ${Build} |
---|
63 | fig2dev -L pstex $< > ${Build}/$@ |
---|
64 | fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t |
---|
Note: See
TracBrowser
for help on using the repository browser.