ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since fe63ae6 was
659fb73,
checked in by Peter A. Buhr <pabuhr@…>, 4 years ago
|
change Makefile from pdflatex to latex for .fig output
|
-
Property mode set to
100644
|
File size:
1.2 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 |
---|
[ab5498ec] | 17 | |
---|
| 18 | ### Commands: |
---|
[659fb73] | 19 | LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${BUILD} |
---|
| 20 | BIBTEX = BIBINPUTS=${BIBLIB} bibtex |
---|
[ab5498ec] | 21 | #GLOSSARY=INDEXSTYLE=${BUILD} makeglossaries-lite |
---|
| 22 | |
---|
[659fb73] | 23 | ### Rules and Recipes: |
---|
[ab5498ec] | 24 | |
---|
| 25 | all: ${DOC} |
---|
| 26 | |
---|
[659fb73] | 27 | ${BUILD}/%.dvi: ${TEXSRC} ${FIGSRC:.fig=.tex} ${BIBSRC} Makefile | ${BUILD} |
---|
[ab5498ec] | 28 | ${LATEX} ${BASE} |
---|
[50d8d4d] | 29 | ${BIBTEX} ${BUILD}/${BASE} |
---|
| 30 | ${LATEX} ${BASE} |
---|
[ab5498ec] | 31 | # ${GLOSSARY} ${BUILD}/${BASE} |
---|
| 32 | # ${LATEX} ${BASE} |
---|
| 33 | |
---|
| 34 | ${BUILD}: |
---|
| 35 | mkdir $@ |
---|
| 36 | |
---|
[659fb73] | 37 | %.pdf : ${BUILD}/%.ps | ${BUILD} |
---|
| 38 | ps2pdf $< |
---|
| 39 | |
---|
| 40 | %.ps : %.dvi | ${BUILD} |
---|
| 41 | dvips $< -o $@ |
---|
[ab5498ec] | 42 | |
---|
[659fb73] | 43 | %.tex : %.fig | ${BUILD} |
---|
| 44 | fig2dev -L eepic $< > ${BUILD}/$@ |
---|
| 45 | |
---|
| 46 | %.ps : %.fig | ${BUILD} |
---|
| 47 | fig2dev -L ps $< > ${BUILD}/$@ |
---|
| 48 | |
---|
| 49 | %.pstex : %.fig | ${BUILD} |
---|
| 50 | fig2dev -L pstex $< > ${BUILD}/$@ |
---|
| 51 | fig2dev -L pstex_t -p ${BUILD}/$@ $< > ${BUILD}/$@_t |
---|
| 52 | |
---|
| 53 | clean: |
---|
| 54 | @rm -frv ${DOC} ${BUILD} *.fig.bak |
---|
Note: See
TracBrowser
for help on using the repository browser.