Changeset 27dde72 for doc/proposals/concurrency/Makefile
- Timestamp:
- May 29, 2017, 1:39:37 PM (7 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:
- ff98952
- Parents:
- eb182b0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/proposals/concurrency/Makefile
reb182b0 r27dde72 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. … … 9 9 SOURCES = ${addsuffix .tex, \ 10 10 thesis \ 11 style \ 12 cfa-format \ 13 glossary \ 11 style/style \ 12 style/cfa-format \ 13 annex/glossary \ 14 text/intro \ 15 text/basics \ 16 text/concurrency \ 17 text/parallelism \ 14 18 } 15 19 16 FIGURES = ${add suffix .tex, \20 FIGURES = ${addprefix build/, ${addsuffix .tex, \ 17 21 monitor \ 18 22 ext_monitor \ 19 } 23 }} 20 24 21 25 PICTURES = ${addsuffix .pstex, \ … … 37 41 38 42 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} 43 @rm -fv ${DOCUMENT} \ 44 build/*.acn \ 45 build/*.acr \ 46 build/*.alg \ 47 build/*.aux \ 48 build/*.bbl \ 49 build/*.blg \ 50 build/*.brf \ 51 build/*.cf \ 52 build/*.dvi \ 53 build/*.glg \ 54 build/*.glo \ 55 build/*.gls \ 56 build/*.ist \ 57 build/*.idx \ 58 build/*.ilg \ 59 build/*.ind \ 60 build/*.log \ 61 build/*.out \ 62 build/*.ps \ 63 build/*.pstex_t \ 64 build/*.tex \ 65 build/*.toc \ 66 41 67 42 68 # File Dependencies # … … 45 71 ps2pdf $< 46 72 47 build/${basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi73 build/${basename ${DOCUMENT}}.ps : build/${basename ${DOCUMENT}}.dvi 48 74 dvips $< -o $@ 49 75 50 build/${basename ${DOCUMENT}}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \ 51 ../../LaTeXmacros/common.tex ../../LaTeXmacros/indexstyle 52 # Conditionally create the build folder 53 if [ ! -r build ] ; then mkdir build ; fi 54 # # Conditionally create an empty *.ind (index) file for inclusion until makeindex is run. 55 # if [ ! -r ${basename $@}.ind ] ; then touch ${basename $@}.ind ; fi 56 # # Must have *.aux file containing citations for bibtex 57 # if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi 58 # -${BibTeX} ${basename $@} 59 # # Some citations reference others so run steps again to resolve these citations 60 # ${LaTeX} ${basename $@}.tex 61 # -${BibTeX} ${basename $@} 62 # # Make index from *.aux entries and input index at end of document 63 # makeglossaries ${basename $@} 64 # #${LaTeX} ${basename $@}.tex 65 # # Run again to get index title into table of contents 66 # ${LaTeX} ${basename $@}.tex 67 # -./bump_ver.sh 68 # ${LaTeX} ${basename $@}.tex 76 build/${basename ${DOCUMENT}}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex ../../LaTeXmacros/common.tex ../../LaTeXmacros/indexstyle 77 78 @ if [ ! -r ${basename $@}.ind ] ; then touch ${basename $@}.ind ; fi # Conditionally create an empty *.ind (index) file for inclusion until makeindex is run. 79 @ echo "Citation lookup" # Must have *.aux file containing citations for bibtex 80 @ if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename ${notdir $@}}.tex ; fi 81 @ echo "Citation Pass 1" 82 @ -${BibTeX} ${basename $@} # Some citations reference others so run steps again to resolve these citations 83 @ echo "Citation Pass 2" 84 @ ${LaTeX} ${basename ${notdir $@}}.tex 85 @ -${BibTeX} ${basename $@} 86 @ echo "Glossary" 87 makeglossaries -q -s ${basename $@}.ist ${basename $@} # Make index from *.aux entries and input index at end of document 88 @ echo ".dvi generation" 89 @ -build/bump_ver.sh 90 @ ${LaTeX} ${basename ${notdir $@}}.tex # Run again to get index title into table of contents 69 91 70 92 … … 74 96 ## Define the default recipes. 75 97 76 build/%.tex : %.fig98 build/%.tex : figures/%.fig 77 99 fig2dev -L eepic $< > $@ 78 100 79 build/%.ps : %.fig101 build/%.ps : figures/%.fig 80 102 fig2dev -L ps $< > $@ 81 103 82 build/%.pstex : %.fig104 build/%.pstex : figures/%.fig 83 105 fig2dev -L pstex $< > $@ 84 106 fig2dev -L pstex_t -p $@ $< > $@_t
Note: See TracChangeset
for help on using the changeset viewer.