Changeset 58fe85a for doc/theses/thierry_delisle_PhD/comp_II/Makefile
- Timestamp:
- Jan 7, 2021, 3:27:00 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
- Children:
- 2b4daf2, 64aeca0
- Parents:
- 3c64c668 (diff), eef8dfb (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/theses/thierry_delisle_PhD/comp_II/Makefile (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/thierry_delisle_PhD/comp_II/Makefile
r3c64c668 r58fe85a 2 2 3 3 Build = build 4 Figures = figures4 Figures = img 5 5 Macros = ../../../LaTeXmacros 6 6 TeXLIB = .:${Macros}:${Build}:../../../bibliography: … … 12 12 13 13 ## Define the text source files. 14 15 SOURCES = ${addsuffix .tex, \16 comp_II \17 }18 19 14 FIGURES = ${addsuffix .tex, \ 15 emptybit \ 16 emptytree \ 17 emptytls \ 18 resize \ 20 19 } 21 20 22 21 PICTURES = ${addsuffix .pstex, \ 22 base \ 23 empty \ 24 system \ 23 25 } 24 26 … … 30 32 31 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 32 37 33 DOCUMENT = comp_II.pdf 38 DOCUMENT = comp_II.pdf presentation.pdf 34 39 BASE = ${basename ${DOCUMENT}} 35 40 … … 45 50 # File Dependencies # 46 51 47 ${DOCUMENT} : ${BASE}.ps 52 %.pdf : build/%.ps | ${Build} 48 53 ps2pdf $< 49 54 50 ${BASE}.ps : ${BASE}.dvi 51 dvips $ {Build}/$< -o $@55 build/%.ps : build/%.dvi | ${Build} 56 dvips $< -o $@ 52 57 53 ${BASE}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} \ 54 ${Macros}/common.tex ${Macros}/indexstyle ../../../bibliography/pl.bib \ 55 local.bib glossary.tex | ${Build} 58 build/%.dvi : %.tex Makefile | ${Build} 56 59 # Must have *.aux file containing citations for bibtex 57 if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} $ {basename $@}.tex; fi58 -${BibTeX} ${ Build}/${basename $@}60 if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} $< ; fi 61 -${BibTeX} ${basename $@} 59 62 # Some citations reference others so run again to resolve these citations 60 ${LaTeX} $ {basename $@}.tex61 -${BibTeX} ${ Build}/${basename $@}63 ${LaTeX} $< 64 -${BibTeX} ${basename $@} 62 65 # Make index from *.aux entries and input index at end of document 63 makeglossaries -q -s ${Build}/${basename $@}.ist ${Build}/${basename $@}66 -makeglossaries -q -s ${basename $@}.ist ${basename $@} 64 67 # Run again to finish citations 65 ${LaTeX} $ {basename $@}.tex68 ${LaTeX} $< 66 69 67 70 ## Define the default recipes. … … 70 73 mkdir -p ${Build} 71 74 72 %.tex : %.fig${Build}75 %.tex : img/%.fig | ${Build} 73 76 fig2dev -L eepic $< > ${Build}/$@ 74 77 75 %.ps : %.fig | ${Build}78 %.ps : img/%.fig | ${Build} 76 79 fig2dev -L ps $< > ${Build}/$@ 77 80 78 %.pstex : %.fig | ${Build}81 %.pstex : img/%.fig | ${Build} 79 82 fig2dev -L pstex $< > ${Build}/$@ 83 fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t 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}/$@ 80 91 fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t 81 92
Note:
See TracChangeset
for help on using the changeset viewer.