Changeset 659fb73
- Timestamp:
- Mar 30, 2021, 8:37:24 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- d0e80f61
- Parents:
- b202dc2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mubeen_zulfiqar_MMath/Makefile
rb202dc2 r659fb73 1 ### Makefile from Andrew Beach's Masters Thesis 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 2 10 3 DOC=uw-ethesis.pdf 4 BUILD=out 5 TEXSRC=$(wildcard *.tex) 6 BIBSRC=$(wildcard *.bib) 7 STYSRC=$(wildcard *.sty) 8 CLSSRC=$(wildcard *.cls) 9 TEXLIB= .:../../LaTeXmacros:${BUILD}: 10 BIBLIB= .:../../bibliography 11 12 # Since tex programs like to add their own file extensions: 13 BASE= ${DOC:%.pdf=%} 11 MAKEFLAGS = --no-print-directory # --silent 12 VPATH = ${BUILD} 14 13 15 14 ### Special Rules: 16 15 17 .PHONY: all clean deepclean16 .PHONY: all clean 18 17 19 18 ### Commands: 20 LATEX =TEXINPUTS=${TEXLIB} pdflatex -halt-on-error -output-directory=${BUILD}21 BIBTEX =BIBINPUTS=${BIBLIB} bibtex19 LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${BUILD} 20 BIBTEX = BIBINPUTS=${BIBLIB} bibtex 22 21 #GLOSSARY=INDEXSTYLE=${BUILD} makeglossaries-lite 23 22 24 ### Rules and Recip ies:23 ### Rules and Recipes: 25 24 26 25 all: ${DOC} 27 26 28 ${BUILD}/ ${DOC}: ${TEXSRC} ${BIBSRC} ${STYSRC} ${CLSSRC} Makefile | ${BUILD}27 ${BUILD}/%.dvi: ${TEXSRC} ${FIGSRC:.fig=.tex} ${BIBSRC} Makefile | ${BUILD} 29 28 ${LATEX} ${BASE} 30 29 ${BIBTEX} ${BUILD}/${BASE} … … 33 32 # ${LATEX} ${BASE} 34 33 35 ${DOC}: ${BUILD}/${DOC}36 cp $< $@37 38 34 ${BUILD}: 39 35 mkdir $@ 40 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 41 53 clean: 42 -@rm -rv ${BUILD} 43 44 deepclean: clean 45 -@rm -v ${DOC} 54 @rm -frv ${DOC} ${BUILD} *.fig.bak
Note: See TracChangeset
for help on using the changeset viewer.