Ignore:
Timestamp:
Jul 4, 2017, 9:40:16 AM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
208e5be
Parents:
9c951e3 (diff), f7cb0bc (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' into references

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/proposals/concurrency/Makefile

    r9c951e3 rb1e63ac5  
    11## Define the appropriate configuration variables.
    22
    3 TeXLIB = .:../../LaTeXmacros:../../LaTeXmacros/listings:../../LaTeXmacros/enumitem:~/bibliographies:
    4 LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error
    5 BibTeX = BIBINPUTS=${TeXLIB} && export BIBINPUTS && bibtex
     3TeXLIB = .:./style:./text:./annex:./build:../../LaTeXmacros:../../LaTeXmacros/listings:../../LaTeXmacros/enumitem:~/bibliographies:
     4LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=build -interaction=nonstopmode
     5BibTeX = BIBINPUTS=${TeXLIB} && export BIBINPUTS && bibtex -terse
    66
    77## Define the text source files.
    88
    99SOURCES = ${addsuffix .tex, \
    10 concurrency \
    11 style \
    12 cfa-format \
    13 glossary \
     10thesis \
     11style/style \
     12style/cfa-format \
     13annex/glossary \
     14text/intro \
     15text/cforall \
     16text/basics \
     17text/concurrency \
     18text/parallelism \
    1419}
    1520
    16 FIGURES = ${addsuffix .tex, \
     21FIGURES = ${addprefix build/, ${addsuffix .tex, \
    1722        monitor \
    1823        ext_monitor \
    19 }
     24}}
    2025
    2126PICTURES = ${addsuffix .pstex, \
     
    3035## Define the documents that need to be made.
    3136
    32 DOCUMENT = concurrency.pdf
     37DOCUMENT = thesis.pdf
    3338
    3439# Directives #
     
    3742
    3843clean :
    39         rm -f *.bbl *.aux *.dvi *.idx *.ilg *.ind *.brf *.out *.log *.toc *.blg *.pstex_t *.cf *.glg *.glo *.gls *.ist *.acn *.acr *.alg \
    40                 ${FIGURES} ${PICTURES} ${PROGRAMS} ${GRAPHS} ${basename ${DOCUMENT}}.ps ${DOCUMENT}
     44        @rm -fv ${DOCUMENT} \
     45        build/*.acn     \
     46        build/*.acr     \
     47        build/*.alg     \
     48        build/*.aux     \
     49        build/*.bbl     \
     50        build/*.blg     \
     51        build/*.brf     \
     52        build/*.cf      \
     53        build/*.dvi     \
     54        build/*.glg     \
     55        build/*.glo     \
     56        build/*.gls     \
     57        build/*.ist     \
     58        build/*.idx     \
     59        build/*.ilg     \
     60        build/*.ind     \
     61        build/*.log     \
     62        build/*.out     \
     63        build/*.ps      \
     64        build/*.pstex_t \
     65        build/*.tex     \
     66        build/*.toc     \
     67
    4168
    4269# File Dependencies #
    4370
    44 ${DOCUMENT} : ${basename ${DOCUMENT}}.ps
     71${DOCUMENT} : build/${basename ${DOCUMENT}}.ps
    4572        ps2pdf $<
    4673
    47 ${basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi
     74build/${basename ${DOCUMENT}}.ps : build/${basename ${DOCUMENT}}.dvi
    4875        dvips $< -o $@
    4976
    50 ${basename ${DOCUMENT}}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \
    51                 ../../LaTeXmacros/common.tex ../../LaTeXmacros/indexstyle
    52         # Conditionally create an empty *.ind (index) file for inclusion until makeindex is run.
    53         if [ ! -r ${basename $@}.ind ] ; then touch ${basename $@}.ind ; fi
    54         # Must have *.aux file containing citations for bibtex
    55         if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi
    56         -${BibTeX} ${basename $@}
    57         # Some citations reference others so run steps again to resolve these citations
    58         ${LaTeX} ${basename $@}.tex
    59         -${BibTeX} ${basename $@}
    60         # Make index from *.aux entries and input index at end of document
    61         makeglossaries ${basename $@}
    62         #${LaTeX} ${basename $@}.tex
    63         # Run again to get index title into table of contents
    64         ${LaTeX} ${basename $@}.tex
    65         -./bump_ver.sh
    66         ${LaTeX} ${basename $@}.tex
     77build/${basename ${DOCUMENT}}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex ../../LaTeXmacros/common.tex ../../LaTeXmacros/indexstyle
     78
     79        @ if [ ! -r ${basename $@}.ind ] ; then touch ${basename $@}.ind ; fi                           # Conditionally create an empty *.ind (index) file for inclusion until makeindex is run.
     80        @ echo "Citation lookup"                                                                                        # Must have *.aux file containing citations for bibtex
     81        @ if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename ${notdir $@}}.tex ; fi
     82        @ echo "Citation Pass 1"
     83        @ -${BibTeX} ${basename $@}                                                                                     # Some citations reference others so run steps again to resolve these citations
     84        @ echo "Citation Pass 2"
     85        @ ${LaTeX} ${basename ${notdir $@}}.tex
     86        @ -${BibTeX} ${basename $@}
     87        @ echo "Glossary"
     88        makeglossaries -q -s ${basename $@}.ist ${basename $@}                                          # Make index from *.aux entries and input index at end of document
     89        @ echo ".dvi generation"
     90        @ -build/bump_ver.sh
     91        @ ${LaTeX} ${basename ${notdir $@}}.tex                                                                 # Run again to get index title into table of contents
    6792
    6893
     
    7297## Define the default recipes.
    7398
    74 %.tex : %.fig
     99build/%.tex : figures/%.fig
    75100        fig2dev -L eepic $< > $@
    76101
    77 %.ps : %.fig
     102build/%.ps : figures/%.fig
    78103        fig2dev -L ps $< > $@
    79104
    80 %.pstex : %.fig
     105build/%.pstex : figures/%.fig
    81106        fig2dev -L pstex $< > $@
    82107        fig2dev -L pstex_t -p $@ $< > $@_t
Note: See TracChangeset for help on using the changeset viewer.