Ignore:
Timestamp:
Sep 1, 2020, 8:06:36 PM (4 years ago)
Author:
m3zulfiq <m3zulfiq@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
4557bcf7
Parents:
68f0c4e (diff), a77496cb (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:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/thierry_delisle_PhD/comp_II/Makefile

    r68f0c4e r70cab43  
    1212
    1313## Define the text source files.
    14 
    15 SOURCES = ${addsuffix .tex, \
    16 comp_II \
    17 }
    18 
    1914FIGURES = ${addsuffix .tex, \
    20         base \
    21         empty \
    2215        emptybit \
    2316        emptytree \
    2417        emptytls \
    2518        resize \
    26         system \
    2719}
    2820
    2921PICTURES = ${addsuffix .pstex, \
     22        base \
     23        empty \
     24        system \
    3025}
    3126
     
    3732
    3833## Define the documents that need to be made.
     34all: comp_II.pdf presentation.pdf
     35comp_II.pdf: ${FIGURES} ${PICTURES}
     36presentation.pdf: presentationstyle.sty base.dark.pstex empty.dark.pstex system.dark.pstex
    3937
    40 DOCUMENT = comp_II.pdf
     38DOCUMENT = comp_II.pdf presentation.pdf
    4139BASE = ${basename ${DOCUMENT}}
    4240
     
    5250# File Dependencies #
    5351
    54 ${DOCUMENT} : ${BASE}.ps
     52%.pdf : build/%.ps | ${Build}
    5553        ps2pdf $<
    5654
    57 ${BASE}.ps : ${BASE}.dvi
    58         dvips ${Build}/$< -o $@
     55build/%.ps : build/%.dvi | ${Build}
     56        dvips $< -o $@
    5957
    60 ${BASE}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} \
    61                 ${Macros}/common.tex ${Macros}/indexstyle ../../../bibliography/pl.bib \
    62                 local.bib glossary.tex | ${Build}
     58build/%.dvi : %.tex Makefile | ${Build}
    6359        # Must have *.aux file containing citations for bibtex
    64         if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi
    65         -${BibTeX} ${Build}/${basename $@}
     60        if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} $< ; fi
     61        -${BibTeX} ${basename $@}
    6662        # Some citations reference others so run again to resolve these citations
    67         ${LaTeX} ${basename $@}.tex
    68         -${BibTeX} ${Build}/${basename $@}
     63        ${LaTeX} $<
     64        -${BibTeX} ${basename $@}
    6965        # Make index from *.aux entries and input index at end of document
    70         makeglossaries -q -s ${Build}/${basename $@}.ist ${Build}/${basename $@}
     66        -makeglossaries -q -s ${basename $@}.ist ${basename $@}
    7167        # Run again to finish citations
    72         ${LaTeX} ${basename $@}.tex
     68        ${LaTeX} $<
    7369
    7470## Define the default recipes.
     
    7773        mkdir -p ${Build}
    7874
    79 %.tex : img/%.fig ${Build}
     75%.tex : img/%.fig | ${Build}
    8076        fig2dev -L eepic $< > ${Build}/$@
    8177
     
    8783        fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
    8884
     85## pstex with inverted colors
     86%.dark.pstex : img/%.fig Makefile | ${Build}
     87        fig2dev -L pstex $< > ${Build}/$@
     88        sed -i 's/\/col-1 {0 setgray} bind def/\/col-1 {1 setgray} bind def/g' ${Build}/$@
     89        sed -i 's/\/col0 {0.000 0.000 0.000 srgb} bind def/\/col0 {1.000 1.000 1.000 srgb} bind def/g' ${Build}/$@
     90        sed -i 's/\/col7 {1.000 1.000 1.000 srgb} bind def/\/col7 {0.000 0.000 0.000 srgb} bind def/g' ${Build}/$@
     91        fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
     92
    8993# Local Variables: #
    9094# compile-command: "make" #
Note: See TracChangeset for help on using the changeset viewer.