Index: doc/theses/mubeen_zulfiqar_MMath/Makefile
===================================================================
--- doc/theses/mubeen_zulfiqar_MMath/Makefile	(revision 65781a8cee69fed1056bc74e14bf540907b365dc)
+++ doc/theses/mubeen_zulfiqar_MMath/Makefile	(revision 37e9c1d825518bb02b9803c17b0e013190990deb)
@@ -1,44 +1,46 @@
-# directory for latex clutter files
+# Configuration variables
+
 Build = build
 Figures = figures
 Pictures = pictures
+
 TeXSRC = ${wildcard *.tex}
 FigSRC = ${notdir ${wildcard ${Figures}/*.fig}}
 PicSRC = ${notdir ${wildcard ${Pictures}/*.fig}}
-BIBSRC = ${wildcard *.bib}
-TeXLIB = .:../../LaTeXmacros:${Build}: # common latex macros
-BibLIB = .:../../bibliography # common citation repository
+BibSRC = ${wildcard *.bib}
+
+TeXLIB = .:../../LaTeXmacros:${Build}:		# common latex macros
+BibLIB = .:../../bibliography			# common citation repository
 
 MAKEFLAGS = --no-print-directory # --silent
 VPATH = ${Build} ${Figures} ${Pictures} # extra search path for file names used in document
 
-### Special Rules:
+DOCUMENT = uw-ethesis.pdf
+BASE = ${basename ${DOCUMENT}}			# remove suffix
 
-.PHONY: all clean
-.PRECIOUS: %.dvi %.ps # do not delete intermediate files
-
-### Commands:
+# Commands
 
 LaTeX = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build}
-BibTeX = BIBINPUTS=${BibLIB} bibtex
+BibTeX = BIBINPUTS=${BibLIB} && export BIBINPUTS && bibtex
 #Glossary = INDEXSTYLE=${Build} makeglossaries-lite
 
-### Rules and Recipes:
+# Rules and Recipes
 
-DOC = uw-ethesis.pdf
-BASE = ${DOC:%.pdf=%} # remove suffix
+.PHONY : all clean				# not file names
+.PRECIOUS: %.dvi %.ps # do not delete intermediate files
+.ONESHELL :
 
-all: ${DOC}
+all : ${DOCUMENT}
 
-clean:
-	@rm -frv ${DOC} ${Build}
+clean :
+	@rm -frv ${DOCUMENT} ${Build}
 
-# File Dependencies #
+# File Dependencies
 
-%.dvi : ${TeXSRC} ${FigSRC:%.fig=%.tex} ${PicSRC:%.fig=%.pstex} ${BIBSRC} Makefile | ${Build}
+%.dvi : ${TeXSRC} ${FigSRC:%.fig=%.tex} ${PicSRC:%.fig=%.pstex} ${BibSRC} Makefile | ${Build}
 	${LaTeX} ${BASE}
 	${BibTeX} ${Build}/${BASE}
 	${LaTeX} ${BASE}
-	# if nedded, run latex again to get citations
+	# if needed, run latex again to get citations
 	if fgrep -s "LaTeX Warning: Citation" ${basename $@}.log ; then ${LaTeX} ${BASE} ; fi
 #	${Glossary} ${Build}/${BASE}
@@ -46,5 +48,5 @@
 
 ${Build}:
-	mkdir $@
+	mkdir -p $@
 
 %.pdf : ${Build}/%.ps | ${Build}
