Ignore:
Timestamp:
Apr 19, 2022, 3:00:04 PM (4 years ago)
Author:
m3zulfiq <m3zulfiq@…>
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.
Message:

added benchmark and evaluations chapter to thesis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/mubeen_zulfiqar_MMath/Makefile

    rba897d21 r2e9b59b  
    1 # directory for latex clutter files
     1# Configuration variables
     2
    23Build = build
    34Figures = figures
    45Pictures = pictures
     6
     7LaTMac = ../../LaTeXmacros
     8BibRep = ../../bibliography
     9
    510TeXSRC = ${wildcard *.tex}
    611FigSRC = ${notdir ${wildcard ${Figures}/*.fig}}
    712PicSRC = ${notdir ${wildcard ${Pictures}/*.fig}}
    8 BIBSRC = ${wildcard *.bib}
    9 TeXLIB = .:../../LaTeXmacros:${Build}: # common latex macros
    10 BibLIB = .:../../bibliography # common citation repository
     13BibSRC = ${wildcard *.bib}
     14
     15TeXLIB = .:${LaTMac}:${Build}:
     16BibLIB = .:${BibRep}:
    1117
    1218MAKEFLAGS = --no-print-directory # --silent
    1319VPATH = ${Build} ${Figures} ${Pictures} # extra search path for file names used in document
    1420
    15 ### Special Rules:
     21DOCUMENT = uw-ethesis.pdf
     22BASE = ${basename ${DOCUMENT}}                  # remove suffix
    1623
    17 .PHONY: all clean
    18 .PRECIOUS: %.dvi %.ps # do not delete intermediate files
    19 
    20 ### Commands:
     24# Commands
    2125
    2226LaTeX = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build}
    23 BibTeX = BIBINPUTS=${BibLIB} bibtex
     27BibTeX = BIBINPUTS=${BibLIB} && export BIBINPUTS && bibtex
    2428#Glossary = INDEXSTYLE=${Build} makeglossaries-lite
    2529
    26 ### Rules and Recipes:
     30# Rules and Recipes
    2731
    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 :
    3035
    31 all: ${DOC}
     36all : ${DOCUMENT}
    3237
    33 clean:
    34         @rm -frv ${DOC} ${Build}
     38clean :
     39        @rm -frv ${DOCUMENT} ${Build}
    3540
    36 # File Dependencies #
     41# File Dependencies
    3742
    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}
    3944        ${LaTeX} ${BASE}
    4045        ${BibTeX} ${Build}/${BASE}
    4146        ${LaTeX} ${BASE}
    42         # if nedded, run latex again to get citations
     47        # if needed, run latex again to get citations
    4348        if fgrep -s "LaTeX Warning: Citation" ${basename $@}.log ; then ${LaTeX} ${BASE} ; fi
    4449#       ${Glossary} ${Build}/${BASE}
     
    4651
    4752${Build}:
    48         mkdir $@
     53        mkdir -p $@
    4954
    5055%.pdf : ${Build}/%.ps | ${Build}
Note: See TracChangeset for help on using the changeset viewer.