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