source: doc/proposals/concurrency/Makefile @ f7a4f89

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since f7a4f89 was 07c1e595, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

Ran ispell on the thesis

  • Property mode set to 100644
File size: 3.1 KB
RevLine 
[694ee7d]1## Define the appropriate configuration variables.
2
[27dde72]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
[694ee7d]6
7## Define the text source files.
8
9SOURCES = ${addsuffix .tex, \
[db0fa7c]10thesis \
[27dde72]11style/style \
12style/cfa-format \
13annex/glossary \
14text/intro \
15text/basics \
[64b272a]16text/cforall \
[27dde72]17text/concurrency \
[dcfc4b3]18text/internals \
[27dde72]19text/parallelism \
[64b272a]20text/results \
[d67cdb7]21text/together \
[07c1e595]22text/conclusion \
[d67cdb7]23text/future \
[07c1e595]24text/acknowledge \
[694ee7d]25}
26
[27dde72]27FIGURES = ${addprefix build/, ${addsuffix .tex, \
[b512454]28        monitor \
29        ext_monitor \
[21a1efb]30        int_monitor \
[3364962]31        dependency \
[27dde72]32}}
[694ee7d]33
[64b272a]34PICTURES = ${addprefix build/, ${addsuffix .pstex, \
35        system \
[20ffcf3]36        monitor_structs \
[64b272a]37}}
[694ee7d]38
39PROGRAMS = ${addsuffix .tex, \
40}
41
42GRAPHS = ${addsuffix .tex, \
43}
44
45## Define the documents that need to be made.
46
[db0fa7c]47DOCUMENT = thesis.pdf
[694ee7d]48
49# Directives #
50
51all : ${DOCUMENT}
52
53clean :
[27dde72]54        @rm -fv ${DOCUMENT} \
55        build/*.acn     \
56        build/*.acr     \
57        build/*.alg     \
58        build/*.aux     \
59        build/*.bbl     \
60        build/*.blg     \
61        build/*.brf     \
62        build/*.cf      \
63        build/*.dvi     \
64        build/*.glg     \
65        build/*.glo     \
66        build/*.gls     \
67        build/*.ist     \
68        build/*.idx     \
69        build/*.ilg     \
70        build/*.ind     \
71        build/*.log     \
72        build/*.out     \
73        build/*.ps      \
[64b272a]74        build/*.pstex   \
[27dde72]75        build/*.pstex_t \
76        build/*.tex     \
77        build/*.toc     \
[ff98952]78
[694ee7d]79
80# File Dependencies #
81
[db0fa7c]82${DOCUMENT} : build/${basename ${DOCUMENT}}.ps
[694ee7d]83        ps2pdf $<
84
[27dde72]85build/${basename ${DOCUMENT}}.ps : build/${basename ${DOCUMENT}}.dvi
[694ee7d]86        dvips $< -o $@
87
[b3ffb61]88build/${basename ${DOCUMENT}}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex ../../LaTeXmacros/common.tex ../../LaTeXmacros/indexstyle annex/local.bib
[27dde72]89
90        @ if [ ! -r ${basename $@}.ind ] ; then touch ${basename $@}.ind ; fi                           # Conditionally create an empty *.ind (index) file for inclusion until makeindex is run.
91        @ echo "Citation lookup"                                                                                        # Must have *.aux file containing citations for bibtex
92        @ if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename ${notdir $@}}.tex ; fi
93        @ echo "Citation Pass 1"
94        @ -${BibTeX} ${basename $@}                                                                                     # Some citations reference others so run steps again to resolve these citations
[ff98952]95        @ echo "Citation Pass 2"
[27dde72]96        @ ${LaTeX} ${basename ${notdir $@}}.tex
97        @ -${BibTeX} ${basename $@}
[ff98952]98        @ echo "Glossary"
[b3ffb61]99        @ makeglossaries -q -s ${basename $@}.ist ${basename $@}                                                # Make index from *.aux entries and input index at end of document
[ff98952]100        @ echo ".dvi generation"
[27dde72]101        @ -build/bump_ver.sh
102        @ ${LaTeX} ${basename ${notdir $@}}.tex                                                                 # Run again to get index title into table of contents
[c69adb7]103
[694ee7d]104
105predefined :
106        sed -f predefined.sed ${basename ${DOCUMENT}}.tex > ${basename $@}.cf
107
108## Define the default recipes.
109
[27dde72]110build/%.tex : figures/%.fig
[694ee7d]111        fig2dev -L eepic $< > $@
112
[27dde72]113build/%.ps : figures/%.fig
[694ee7d]114        fig2dev -L ps $< > $@
115
[27dde72]116build/%.pstex : figures/%.fig
[694ee7d]117        fig2dev -L pstex $< > $@
118        fig2dev -L pstex_t -p $@ $< > $@_t
119
[9b4343e]120
[694ee7d]121# Local Variables: #
122# compile-command: "make" #
123# End: #
Note: See TracBrowser for help on using the repository browser.