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