Changeset b1e63ac5 for doc/proposals/concurrency/Makefile
- Timestamp:
- Jul 4, 2017, 9:40:16 AM (8 years ago)
- 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. - File:
-
- 1 edited
-
doc/proposals/concurrency/Makefile (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/proposals/concurrency/Makefile
r9c951e3 rb1e63ac5 1 1 ## Define the appropriate configuration variables. 2 2 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 3 TeXLIB = .:./style:./text:./annex:./build:../../LaTeXmacros:../../LaTeXmacros/listings:../../LaTeXmacros/enumitem:~/bibliographies: 4 LaTeX = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=build -interaction=nonstopmode 5 BibTeX = BIBINPUTS=${TeXLIB} && export BIBINPUTS && bibtex -terse 6 6 7 7 ## Define the text source files. 8 8 9 9 SOURCES = ${addsuffix .tex, \ 10 concurrency \ 11 style \ 12 cfa-format \ 13 glossary \ 10 thesis \ 11 style/style \ 12 style/cfa-format \ 13 annex/glossary \ 14 text/intro \ 15 text/cforall \ 16 text/basics \ 17 text/concurrency \ 18 text/parallelism \ 14 19 } 15 20 16 FIGURES = ${add suffix .tex, \21 FIGURES = ${addprefix build/, ${addsuffix .tex, \ 17 22 monitor \ 18 23 ext_monitor \ 19 } 24 }} 20 25 21 26 PICTURES = ${addsuffix .pstex, \ … … 30 35 ## Define the documents that need to be made. 31 36 32 DOCUMENT = concurrency.pdf37 DOCUMENT = thesis.pdf 33 38 34 39 # Directives # … … 37 42 38 43 clean : 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 41 68 42 69 # File Dependencies # 43 70 44 ${DOCUMENT} : ${basename ${DOCUMENT}}.ps71 ${DOCUMENT} : build/${basename ${DOCUMENT}}.ps 45 72 ps2pdf $< 46 73 47 ${basename ${DOCUMENT}}.ps :${basename ${DOCUMENT}}.dvi74 build/${basename ${DOCUMENT}}.ps : build/${basename ${DOCUMENT}}.dvi 48 75 dvips $< -o $@ 49 76 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 77 build/${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 67 92 68 93 … … 72 97 ## Define the default recipes. 73 98 74 %.tex :%.fig99 build/%.tex : figures/%.fig 75 100 fig2dev -L eepic $< > $@ 76 101 77 %.ps :%.fig102 build/%.ps : figures/%.fig 78 103 fig2dev -L ps $< > $@ 79 104 80 %.pstex :%.fig105 build/%.pstex : figures/%.fig 81 106 fig2dev -L pstex $< > $@ 82 107 fig2dev -L pstex_t -p $@ $< > $@_t
Note:
See TracChangeset
for help on using the changeset viewer.