Changes in doc/user/Makefile [5ff188f:92c0f81]
- File:
-
- 1 edited
-
doc/user/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/user/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:../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. … … 41 35 # Directives # 42 36 43 .PHONY : all clean # not file names44 45 37 all : ${DOCUMENT} 46 38 47 39 clean : 48 @rm -frv ${DOCUMENT} ${basename ${DOCUMENT}}.ps ${Build} 40 rm -f *.bbl *.aux *.dvi *.idx *.ilg *.ind *.brf *.out *.log *.toc *.blg *.pstex_t *.cf \ 41 ${FIGURES} ${PICTURES} ${PROGRAMS} ${GRAPHS} ${basename ${DOCUMENT}}.ps ${DOCUMENT} 49 42 50 43 # File Dependencies # … … 54 47 55 48 ${basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi 56 dvips $ {Build}/$< -o $@49 dvips $< -o $@ 57 50 58 ${basename ${DOCUMENT}}.dvi : Makefile ${ Build} ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \59 ${Macros}/common.tex ${Macros}/lstlang.sty ${Macros}/indexstyle ../bibliography/pl.bib51 ${basename ${DOCUMENT}}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \ 52 ../LaTeXmacros/common.tex ../LaTeXmacros/lstlang.sty ../LaTeXmacros/indexstyle ../bibliography/cfa.bib 60 53 # Conditionally create an empty *.ind (index) file for inclusion until makeindex is run. 61 if [ ! -r ${basename $@}.ind ] ; then touch ${ Build}/${basename $@}.ind ; fi54 if [ ! -r ${basename $@}.ind ] ; then touch ${basename $@}.ind ; fi 62 55 # Must have *.aux file containing citations for bibtex 63 56 if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi 64 -${BibTeX} ${ Build}/${basename $@}65 # Some citations reference others so run again to resolve these citations57 -${BibTeX} ${basename $@} 58 # Some citations reference others so run steps again to resolve these citations 66 59 ${LaTeX} ${basename $@}.tex 67 -${BibTeX} ${ Build}/${basename $@}60 -${BibTeX} ${basename $@} 68 61 # Make index from *.aux entries and input index at end of document 69 makeindex -s ${Macros}/indexstyle ${Build}/${basename $@}.idx 70 # Run again to finish citations 62 makeindex -s ../LaTeXmacros/indexstyle ${basename $@}.idx 71 63 ${LaTeX} ${basename $@}.tex 72 64 # Run again to get index title into table of contents 73 65 ${LaTeX} ${basename $@}.tex 74 66 67 predefined : 68 sed -f predefined.sed ${basename ${DOCUMENT}}.tex > ${basename $@}.cf 69 75 70 ## Define the default recipes. 76 71 77 ${Build}:78 mkdir -p ${Build}79 80 72 %.tex : %.fig 81 fig2dev -L eepic $< > $ {Build}/$@73 fig2dev -L eepic $< > $@ 82 74 83 75 %.ps : %.fig 84 fig2dev -L ps $< > $ {Build}/$@76 fig2dev -L ps $< > $@ 85 77 86 78 %.pstex : %.fig 87 fig2dev -L pstex $< > $ {Build}/$@88 fig2dev -L pstex_t -p $ {Build}/$@ $< > ${Build}/$@_t79 fig2dev -L pstex $< > $@ 80 fig2dev -L pstex_t -p $@ $< > $@_t 89 81 90 82 # Local Variables: #
Note:
See TracChangeset
for help on using the changeset viewer.