Changeset 5ff188f for doc/refrat/Makefile
- Timestamp:
- Jan 31, 2018, 5:49:36 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:
- 281806b
- Parents:
- 633a642
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified doc/refrat/Makefile ¶
r633a642 r5ff188f 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 = ${Figures} 6 12 7 13 ## Define the text source files. … … 31 37 # Directives # 32 38 39 .PHONY : all clean # not file names 40 33 41 all : ${DOCUMENT} 34 42 35 43 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} 44 @rm -frv ${DOCUMENT} ${basename ${DOCUMENT}}.ps ${Build} 38 45 39 46 # File Dependencies # … … 43 50 44 51 ${basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi 45 dvips $ < -o $@52 dvips ${Build}/$< -o $@ 46 53 47 ${basename ${DOCUMENT}}.dvi : Makefile ${ GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \48 ../LaTeXmacros/common.tex ../LaTeXmacros/lstlang.sty ../LaTeXmacros/indexstyle ../bibliography/cfa.bib54 ${basename ${DOCUMENT}}.dvi : Makefile ${Build} ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \ 55 ${Macros}/common.tex ${Macros}/lstlang.sty ${Macros}/indexstyle ../bibliography/pl.bib 49 56 # Conditionally create an empty *.ind (index) file for inclusion until makeindex is run. 50 if [ ! -r ${basename $@}.ind ] ; then touch ${ basename $@}.ind ; fi57 if [ ! -r ${basename $@}.ind ] ; then touch ${Build}/${basename $@}.ind ; fi 51 58 # Must have *.aux file containing citations for bibtex 52 59 if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi 53 -${BibTeX} ${ basename $@}54 # Some citations reference others so run stepsagain to resolve these citations60 -${BibTeX} ${Build}/${basename $@} 61 # Some citations reference others so run again to resolve these citations 55 62 ${LaTeX} ${basename $@}.tex 56 -${BibTeX} ${ basename $@}63 -${BibTeX} ${Build}/${basename $@} 57 64 # Make index from *.aux entries and input index at end of document 58 makeindex -s ../LaTeXmacros/indexstyle ${basename $@}.idx 65 makeindex -s ${Macros}/indexstyle ${Build}/${basename $@}.idx 66 # Run again to finish citations 59 67 ${LaTeX} ${basename $@}.tex 60 68 # Run again to get index title into table of contents … … 66 74 ## Define the default recipes. 67 75 76 ${Build}: 77 mkdir -p ${Build} 78 68 79 %.tex : %.fig 69 fig2dev -L eepic $< > $ @80 fig2dev -L eepic $< > ${Build}/$@ 70 81 71 82 %.ps : %.fig 72 fig2dev -L ps $< > $ @83 fig2dev -L ps $< > ${Build}/$@ 73 84 74 85 %.pstex : %.fig 75 fig2dev -L pstex $< > $ @76 fig2dev -L pstex_t -p $ @ $< >$@_t86 fig2dev -L pstex $< > ${Build}/$@ 87 fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t 77 88 78 89 # Local Variables: #
Note: See TracChangeset
for help on using the changeset viewer.