source: doc/proposals/concurrency/Makefile @ 41634098

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 41634098 was 0f9bef3, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

First draft at the final writeup of internal schedulling

  • Property mode set to 100644
File size: 2.2 KB
Line 
1## Define the appropriate configuration variables.
2
3TeXLIB = .:../../LaTeXmacros:../../LaTeXmacros/listings:../../LaTeXmacros/enumitem:~/bibliographies:
4LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error
5BibTeX = BIBINPUTS=${TeXLIB} && export BIBINPUTS && bibtex
6
7## Define the text source files.
8
9SOURCES = ${addsuffix .tex, \
10concurrency \
11style \
12cfa-format \
13glossary \
14}
15
16FIGURES = ${addsuffix .tex, \
17        monitor \
18        ext_monitor \
19}
20
21PICTURES = ${addsuffix .pstex, \
22}
23
24PROGRAMS = ${addsuffix .tex, \
25}
26
27GRAPHS = ${addsuffix .tex, \
28}
29
30## Define the documents that need to be made.
31
32DOCUMENT = concurrency.pdf
33
34# Directives #
35
36all : ${DOCUMENT}
37
38clean :
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}
41
42# File Dependencies #
43
44${DOCUMENT} : ${basename ${DOCUMENT}}.ps
45        ps2pdf $<
46
47${basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi
48        dvips $< -o $@
49
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
67
68
69predefined :
70        sed -f predefined.sed ${basename ${DOCUMENT}}.tex > ${basename $@}.cf
71
72## Define the default recipes.
73
74%.tex : %.fig
75        fig2dev -L eepic $< > $@
76
77%.ps : %.fig
78        fig2dev -L ps $< > $@
79
80%.pstex : %.fig
81        fig2dev -L pstex $< > $@
82        fig2dev -L pstex_t -p $@ $< > $@_t
83
84
85# Local Variables: #
86# compile-command: "make" #
87# End: #
Note: See TracBrowser for help on using the repository browser.