Changes in doc/refrat/Makefile [5ff188f:92c0f81]
- File:
-
- 1 edited
-
doc/refrat/Makefile (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/refrat/Makefile
r5ff188f r92c0f81 1 ## Define the configuration variables.1 ## Define the appropriate configuration variables. 2 2 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} 3 TeXLIB = .:../LaTeXmacros:../LaTeXmacros/listings:../LaTeXmacros/enumitem:../bibliography/: 4 LaTeX = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error 8 5 BibTeX = BIBINPUTS=${TeXLIB} && export BIBINPUTS && bibtex 9 10 MAKEFLAGS = --no-print-directory --silent #11 VPATH = ${Figures}12 6 13 7 ## Define the text source files. … … 37 31 # Directives # 38 32 39 .PHONY : all clean # not file names40 41 33 all : ${DOCUMENT} 42 34 43 35 clean : 44 @rm -frv ${DOCUMENT} ${basename ${DOCUMENT}}.ps ${Build} 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 38 46 39 # File Dependencies # … … 50 43 51 44 ${basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi 52 dvips $ {Build}/$< -o $@45 dvips $< -o $@ 53 46 54 ${basename ${DOCUMENT}}.dvi : Makefile ${ Build} ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \55 ${Macros}/common.tex ${Macros}/lstlang.sty ${Macros}/indexstyle ../bibliography/pl.bib47 ${basename ${DOCUMENT}}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \ 48 ../LaTeXmacros/common.tex ../LaTeXmacros/lstlang.sty ../LaTeXmacros/indexstyle ../bibliography/cfa.bib 56 49 # Conditionally create an empty *.ind (index) file for inclusion until makeindex is run. 57 if [ ! -r ${basename $@}.ind ] ; then touch ${ Build}/${basename $@}.ind ; fi50 if [ ! -r ${basename $@}.ind ] ; then touch ${basename $@}.ind ; fi 58 51 # Must have *.aux file containing citations for bibtex 59 52 if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi 60 -${BibTeX} ${ Build}/${basename $@}61 # Some citations reference others so run again to resolve these citations53 -${BibTeX} ${basename $@} 54 # Some citations reference others so run steps again to resolve these citations 62 55 ${LaTeX} ${basename $@}.tex 63 -${BibTeX} ${ Build}/${basename $@}56 -${BibTeX} ${basename $@} 64 57 # Make index from *.aux entries and input index at end of document 65 makeindex -s ${Macros}/indexstyle ${Build}/${basename $@}.idx 66 # Run again to finish citations 58 makeindex -s ../LaTeXmacros/indexstyle ${basename $@}.idx 67 59 ${LaTeX} ${basename $@}.tex 68 60 # Run again to get index title into table of contents … … 74 66 ## Define the default recipes. 75 67 76 ${Build}:77 mkdir -p ${Build}78 79 68 %.tex : %.fig 80 fig2dev -L eepic $< > $ {Build}/$@69 fig2dev -L eepic $< > $@ 81 70 82 71 %.ps : %.fig 83 fig2dev -L ps $< > $ {Build}/$@72 fig2dev -L ps $< > $@ 84 73 85 74 %.pstex : %.fig 86 fig2dev -L pstex $< > $ {Build}/$@87 fig2dev -L pstex_t -p $ {Build}/$@ $< > ${Build}/$@_t75 fig2dev -L pstex $< > $@ 76 fig2dev -L pstex_t -p $@ $< > $@_t 88 77 89 78 # Local Variables: #
Note:
See TracChangeset
for help on using the changeset viewer.