ADTast-experimentalenumpthread-emulationqualifiedEnum
Last change
on this file since 12c1eef was
d286e94d,
checked in by Peter A. Buhr <pabuhr@…>, 4 years ago
|
comment on Mubeen's thesis writing-points
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[659fb73] | 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} |
---|
[ab5498ec] | 13 | |
---|
| 14 | ### Special Rules: |
---|
| 15 | |
---|
[659fb73] | 16 | .PHONY: all clean |
---|
[d286e94d] | 17 | .PRECIOUS: %.dvi %.ps # do not delete intermediate files |
---|
[ab5498ec] | 18 | |
---|
| 19 | ### Commands: |
---|
[659fb73] | 20 | LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${BUILD} |
---|
| 21 | BIBTEX = BIBINPUTS=${BIBLIB} bibtex |
---|
[d286e94d] | 22 | #GLOSSARY = INDEXSTYLE=${BUILD} makeglossaries-lite |
---|
[ab5498ec] | 23 | |
---|
[659fb73] | 24 | ### Rules and Recipes: |
---|
[ab5498ec] | 25 | |
---|
| 26 | all: ${DOC} |
---|
| 27 | |
---|
[d286e94d] | 28 | ${BUILD}/%.dvi: ${TEXSRC} ${FIGSRC:%.fig=%.tex} ${BIBSRC} Makefile | ${BUILD} |
---|
[ab5498ec] | 29 | ${LATEX} ${BASE} |
---|
[50d8d4d] | 30 | ${BIBTEX} ${BUILD}/${BASE} |
---|
| 31 | ${LATEX} ${BASE} |
---|
[ab5498ec] | 32 | # ${GLOSSARY} ${BUILD}/${BASE} |
---|
| 33 | # ${LATEX} ${BASE} |
---|
| 34 | |
---|
| 35 | ${BUILD}: |
---|
| 36 | mkdir $@ |
---|
| 37 | |
---|
[659fb73] | 38 | %.pdf : ${BUILD}/%.ps | ${BUILD} |
---|
| 39 | ps2pdf $< |
---|
| 40 | |
---|
| 41 | %.ps : %.dvi | ${BUILD} |
---|
| 42 | dvips $< -o $@ |
---|
[ab5498ec] | 43 | |
---|
[659fb73] | 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.