Changeset 1eec0b0 for doc/theses/mubeen_zulfiqar_MMath/Makefile
- Timestamp:
- Feb 22, 2022, 2:42:45 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- 5cefa43
- Parents:
- 5c216b4
- git-author:
- Peter A. Buhr <pabuhr@…> (02/20/22 20:37:23)
- git-committer:
- Peter A. Buhr <pabuhr@…> (02/22/22 14:42:45)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mubeen_zulfiqar_MMath/Makefile
r5c216b4 r1eec0b0 1 DOC = uw-ethesis.pdf2 BASE = ${DOC:%.pdf=%} # remove suffix3 1 # 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 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 10 11 11 12 MAKEFLAGS = --no-print-directory # --silent 12 VPATH = ${B UILD}13 VPATH = ${Build} ${Figures} ${Pictures} # extra search path for file names used in document 13 14 14 15 ### Special Rules: … … 18 19 19 20 ### Commands: 20 LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${BUILD} 21 BIBTEX = BIBINPUTS=${BIBLIB} bibtex 22 #GLOSSARY = INDEXSTYLE=${BUILD} makeglossaries-lite 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 23 25 24 26 ### Rules and Recipes: 25 27 28 DOC = uw-ethesis.pdf 29 BASE = ${DOC:%.pdf=%} # remove suffix 30 26 31 all: ${DOC} 27 32 28 ${BUILD}/%.dvi: ${TEXSRC} ${FIGSRC:%.fig=%.tex} ${BIBSRC} Makefile | ${BUILD} 29 ${LATEX} ${BASE} 30 ${BIBTEX} ${BUILD}/${BASE} 31 ${LATEX} ${BASE} 32 # ${GLOSSARY} ${BUILD}/${BASE} 33 # ${LATEX} ${BASE} 33 clean: 34 @rm -frv ${DOC} ${Build} 34 35 35 ${BUILD}: 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}: 36 48 mkdir $@ 37 49 38 %.pdf : ${B UILD}/%.ps | ${BUILD}50 %.pdf : ${Build}/%.ps | ${Build} 39 51 ps2pdf $< 40 52 41 %.ps : %.dvi | ${B UILD}53 %.ps : %.dvi | ${Build} 42 54 dvips $< -o $@ 43 55 44 %.tex : %.fig | ${B UILD}45 fig2dev -L eepic $< > ${B UILD}/$@56 %.tex : %.fig | ${Build} 57 fig2dev -L eepic $< > ${Build}/$@ 46 58 47 %.ps : %.fig | ${B UILD}48 fig2dev -L ps $< > ${B UILD}/$@59 %.ps : %.fig | ${Build} 60 fig2dev -L ps $< > ${Build}/$@ 49 61 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 62 %.pstex : %.fig | ${Build} 63 fig2dev -L pstex $< > ${Build}/$@ 64 fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
Note: See TracChangeset
for help on using the changeset viewer.