Changeset 2e9b59b for doc/theses/mubeen_zulfiqar_MMath/Makefile
- Timestamp:
- Apr 19, 2022, 3:00:04 PM (4 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
- Children:
- 5b84a321
- Parents:
- ba897d21 (diff), bb7c77d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
doc/theses/mubeen_zulfiqar_MMath/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mubeen_zulfiqar_MMath/Makefile
rba897d21 r2e9b59b 1 # directory for latex clutter files 1 # Configuration variables 2 2 3 Build = build 3 4 Figures = figures 4 5 Pictures = pictures 6 7 LaTMac = ../../LaTeXmacros 8 BibRep = ../../bibliography 9 5 10 TeXSRC = ${wildcard *.tex} 6 11 FigSRC = ${notdir ${wildcard ${Figures}/*.fig}} 7 12 PicSRC = ${notdir ${wildcard ${Pictures}/*.fig}} 8 BIBSRC = ${wildcard *.bib} 9 TeXLIB = .:../../LaTeXmacros:${Build}: # common latex macros 10 BibLIB = .:../../bibliography # common citation repository 13 BibSRC = ${wildcard *.bib} 14 15 TeXLIB = .:${LaTMac}:${Build}: 16 BibLIB = .:${BibRep}: 11 17 12 18 MAKEFLAGS = --no-print-directory # --silent 13 19 VPATH = ${Build} ${Figures} ${Pictures} # extra search path for file names used in document 14 20 15 ### Special Rules: 21 DOCUMENT = uw-ethesis.pdf 22 BASE = ${basename ${DOCUMENT}} # remove suffix 16 23 17 .PHONY: all clean 18 .PRECIOUS: %.dvi %.ps # do not delete intermediate files 19 20 ### Commands: 24 # Commands 21 25 22 26 LaTeX = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build} 23 BibTeX = BIBINPUTS=${BibLIB} bibtex27 BibTeX = BIBINPUTS=${BibLIB} && export BIBINPUTS && bibtex 24 28 #Glossary = INDEXSTYLE=${Build} makeglossaries-lite 25 29 26 # ## Rules and Recipes:30 # Rules and Recipes 27 31 28 DOC = uw-ethesis.pdf 29 BASE = ${DOC:%.pdf=%} # remove suffix 32 .PHONY : all clean # not file names 33 .PRECIOUS: %.dvi %.ps # do not delete intermediate files 34 .ONESHELL : 30 35 31 all : ${DOC}36 all : ${DOCUMENT} 32 37 33 clean :34 @rm -frv ${DOC } ${Build}38 clean : 39 @rm -frv ${DOCUMENT} ${Build} 35 40 36 # File Dependencies #41 # File Dependencies 37 42 38 ${Build}/%.dvi : ${TeXSRC} ${FigSRC:%.fig=%.tex} ${PicSRC:%.fig=%.pstex} ${BIBSRC}Makefile | ${Build}43 %.dvi : ${TeXSRC} ${FigSRC:%.fig=%.tex} ${PicSRC:%.fig=%.pstex} ${BibSRC} ${BibRep}/pl.bib ${LaTMac}/common.tex Makefile | ${Build} 39 44 ${LaTeX} ${BASE} 40 45 ${BibTeX} ${Build}/${BASE} 41 46 ${LaTeX} ${BASE} 42 # if ne dded, run latex again to get citations47 # if needed, run latex again to get citations 43 48 if fgrep -s "LaTeX Warning: Citation" ${basename $@}.log ; then ${LaTeX} ${BASE} ; fi 44 49 # ${Glossary} ${Build}/${BASE} … … 46 51 47 52 ${Build}: 48 mkdir $@53 mkdir -p $@ 49 54 50 55 %.pdf : ${Build}/%.ps | ${Build}
Note:
See TracChangeset
for help on using the changeset viewer.