Changeset 90152a4 for doc/refrat/Makefile
- Timestamp:
- Aug 27, 2018, 4:40:34 PM (8 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
- Children:
- b7c89aa
- Parents:
- f9feab8 (diff), 305581d (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/refrat/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/refrat/Makefile
rf9feab8 r90152a4 1 ## Define the appropriateconfiguration variables.1 ## Define the configuration variables. 2 2 3 TeXLIB = .:../LaTeXmacros:../LaTeXmacros/listings:../LaTeXmacros/enumitem:../bibliography/: 4 LaTeX = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error 3 Build = build 4 Figures = figures 5 Macros = ../LaTeXmacros 6 TeXLIB = .:${Macros}:${Build}:../bibliography: 7 LaTeX = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build} 5 8 BibTeX = BIBINPUTS=${TeXLIB} && export BIBINPUTS && bibtex 9 10 MAKEFLAGS = --no-print-directory --silent # 11 VPATH = ${Build} ${Figures} 6 12 7 13 ## Define the text source files. … … 28 34 29 35 DOCUMENT = refrat.pdf 36 BASE = ${basename ${DOCUMENT}} 30 37 31 38 # Directives # 39 40 .PHONY : all clean # not file names 32 41 33 42 all : ${DOCUMENT} 34 43 35 44 clean : 36 rm -f *.bbl *.aux *.dvi *.idx *.ilg *.ind *.brf *.out *.log *.toc *.blg *.pstex_t *.cf \ 37 ${FIGURES} ${PICTURES} ${PROGRAMS} ${GRAPHS} ${basename ${DOCUMENT}}.ps ${DOCUMENT} 45 @rm -frv ${DOCUMENT} ${BASE}.ps ${Build} 38 46 39 47 # File Dependencies # 40 48 41 ${DOCUMENT} : ${ basename ${DOCUMENT}}.ps49 ${DOCUMENT} : ${BASE}.ps 42 50 ps2pdf $< 43 51 44 ${ basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi45 dvips $ < -o $@52 ${BASE}.ps : ${BASE}.dvi 53 dvips ${Build}/$< -o $@ 46 54 47 ${ basename ${DOCUMENT}}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex\48 ../LaTeXmacros/common.tex ../LaTeXmacros/lstlang.sty ../LaTeXmacros/indexstyle ../bibliography/cfa.bib55 ${BASE}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} \ 56 ${Macros}/common.tex ${Macros}/lstlang.sty ${Macros}/indexstyle ../bibliography/pl.bib | ${Build} 49 57 # Conditionally create an empty *.ind (index) file for inclusion until makeindex is run. 50 if [ ! -r ${basename $@}.ind ] ; then touch ${ basename $@}.ind ; fi58 if [ ! -r ${basename $@}.ind ] ; then touch ${Build}/${basename $@}.ind ; fi 51 59 # Must have *.aux file containing citations for bibtex 52 60 if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi 53 -${BibTeX} ${ basename $@}54 # Some citations reference others so run stepsagain to resolve these citations61 -${BibTeX} ${Build}/${basename $@} 62 # Some citations reference others so run again to resolve these citations 55 63 ${LaTeX} ${basename $@}.tex 56 -${BibTeX} ${ basename $@}64 -${BibTeX} ${Build}/${basename $@} 57 65 # Make index from *.aux entries and input index at end of document 58 makeindex -s ../LaTeXmacros/indexstyle ${basename $@}.idx 66 makeindex -s ${Macros}/indexstyle ${Build}/${basename $@}.idx 67 # Run again to finish citations 59 68 ${LaTeX} ${basename $@}.tex 60 69 # Run again to get index title into table of contents … … 62 71 63 72 predefined : 64 sed -f predefined.sed ${ basename ${DOCUMENT}}.tex > ${basename $@}.cf73 sed -f predefined.sed ${BASE}.tex > ${basename $@}.cf 65 74 66 75 ## Define the default recipes. 67 76 68 %.tex : %.fig 69 fig2dev -L eepic $< > $@77 ${Build}: 78 mkdir -p ${Build} 70 79 71 %. ps : %.fig72 fig2dev -L ps $< >$@80 %.tex : %.fig | ${Build} 81 fig2dev -L eepic $< > ${Build}/$@ 73 82 74 %.pstex : %.fig 75 fig2dev -L pstex $< > $@ 76 fig2dev -L pstex_t -p $@ $< > $@_t 83 %.ps : %.fig | ${Build} 84 fig2dev -L ps $< > ${Build}/$@ 85 86 %.pstex : %.fig | ${Build} 87 fig2dev -L pstex $< > ${Build}/$@ 88 fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t 77 89 78 90 # Local Variables: #
Note:
See TracChangeset
for help on using the changeset viewer.