Changeset 8d8ac3b for doc/theses/thierry_delisle_PhD/comp_II/Makefile
- Timestamp:
- Sep 1, 2020, 1:18:03 PM (3 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 25a1cb0
- Parents:
- 61b1447
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/thierry_delisle_PhD/comp_II/Makefile
r61b1447 r8d8ac3b 12 12 13 13 ## Define the text source files. 14 15 SOURCES = ${addsuffix .tex, \16 comp_II \17 }18 19 14 FIGURES = ${addsuffix .tex, \ 20 base \21 empty \22 15 emptybit \ 23 16 emptytree \ 24 17 emptytls \ 25 18 resize \ 26 system \27 19 } 28 20 29 21 PICTURES = ${addsuffix .pstex, \ 22 base \ 23 empty \ 24 system \ 30 25 } 31 26 … … 37 32 38 33 ## Define the documents that need to be made. 34 all: comp_II.pdf presentation.pdf 35 comp_II.pdf: ${FIGURES} ${PICTURES} 36 presentation.pdf: presentationstyle.sty base.dark.pstex empty.dark.pstex system.dark.pstex 39 37 40 DOCUMENT = comp_II.pdf 38 DOCUMENT = comp_II.pdf presentation.pdf 41 39 BASE = ${basename ${DOCUMENT}} 42 40 … … 52 50 # File Dependencies # 53 51 54 ${DOCUMENT} : ${BASE}.ps 52 %.pdf : build/%.ps | ${Build} 55 53 ps2pdf $< 56 54 57 ${BASE}.ps : ${BASE}.dvi 58 dvips $ {Build}/$< -o $@55 build/%.ps : build/%.dvi | ${Build} 56 dvips $< -o $@ 59 57 60 ${BASE}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} \ 61 ${Macros}/common.tex ${Macros}/indexstyle ../../../bibliography/pl.bib \ 62 local.bib glossary.tex | ${Build} 58 build/%.dvi : %.tex Makefile | ${Build} 63 59 # Must have *.aux file containing citations for bibtex 64 if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} $ {basename $@}.tex; fi65 -${BibTeX} ${ Build}/${basename $@}60 if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} $< ; fi 61 -${BibTeX} ${basename $@} 66 62 # Some citations reference others so run again to resolve these citations 67 ${LaTeX} $ {basename $@}.tex68 -${BibTeX} ${ Build}/${basename $@}63 ${LaTeX} $< 64 -${BibTeX} ${basename $@} 69 65 # Make index from *.aux entries and input index at end of document 70 makeglossaries -q -s ${Build}/${basename $@}.ist ${Build}/${basename $@}66 -makeglossaries -q -s ${basename $@}.ist ${basename $@} 71 67 # Run again to finish citations 72 ${LaTeX} $ {basename $@}.tex68 ${LaTeX} $< 73 69 74 70 ## Define the default recipes. … … 77 73 mkdir -p ${Build} 78 74 79 %.tex : img/%.fig ${Build}75 %.tex : img/%.fig | ${Build} 80 76 fig2dev -L eepic $< > ${Build}/$@ 81 77 … … 87 83 fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t 88 84 85 ## pstex with inverted colors 86 %.dark.pstex : img/%.fig Makefile | ${Build} 87 fig2dev -L pstex $< > ${Build}/$@ 88 sed -i 's/\/col-1 {0 setgray} bind def/\/col-1 {1 setgray} bind def/g' ${Build}/$@ 89 sed -i 's/\/col0 {0.000 0.000 0.000 srgb} bind def/\/col0 {1.000 1.000 1.000 srgb} bind def/g' ${Build}/$@ 90 sed -i 's/\/col7 {1.000 1.000 1.000 srgb} bind def/\/col7 {0.000 0.000 0.000 srgb} bind def/g' ${Build}/$@ 91 fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t 92 89 93 # Local Variables: # 90 94 # compile-command: "make" #
Note: See TracChangeset
for help on using the changeset viewer.