ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 634a5c2 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
|
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 | |
---|
18 | ### Commands: |
---|
19 | LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${BUILD} |
---|
20 | BIBTEX = BIBINPUTS=${BIBLIB} bibtex |
---|
21 | #GLOSSARY=INDEXSTYLE=${BUILD} makeglossaries-lite |
---|
22 | |
---|
23 | ### Rules and Recipes: |
---|
24 | |
---|
25 | all: ${DOC} |
---|
26 | |
---|
27 | ${BUILD}/%.dvi: ${TEXSRC} ${FIGSRC:.fig=.tex} ${BIBSRC} Makefile | ${BUILD} |
---|
28 | ${LATEX} ${BASE} |
---|
29 | ${BIBTEX} ${BUILD}/${BASE} |
---|
30 | ${LATEX} ${BASE} |
---|
31 | # ${GLOSSARY} ${BUILD}/${BASE} |
---|
32 | # ${LATEX} ${BASE} |
---|
33 | |
---|
34 | ${BUILD}: |
---|
35 | mkdir $@ |
---|
36 | |
---|
37 | %.pdf : ${BUILD}/%.ps | ${BUILD} |
---|
38 | ps2pdf $< |
---|
39 | |
---|
40 | %.ps : %.dvi | ${BUILD} |
---|
41 | dvips $< -o $@ |
---|
42 | |
---|
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.