Changeset 90152a4 for doc/user/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/user/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/user/Makefile
rf9feab8 r90152a4 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 = ${Build} ${Figures} 6 12 7 13 ## Define the text source files. … … 32 38 33 39 DOCUMENT = user.pdf 40 BASE = ${basename ${DOCUMENT}} 34 41 35 42 # Directives # 43 44 .PHONY : all clean # not file names 36 45 37 46 all : ${DOCUMENT} 38 47 39 48 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} 49 @rm -frv ${DOCUMENT} ${BASE}.ps ${Build} 42 50 43 51 # File Dependencies # 44 52 45 ${DOCUMENT} : ${basename ${DOCUMENT}}.ps 53 build/version: ../../configure | ${Build} 54 ../../configure --version | grep "cfa-cc configure" | grep -oEe "([0-9]+\.)+[0-9]+" > $@ 55 56 ${DOCUMENT} : ${BASE}.ps 46 57 ps2pdf $< 47 58 48 ${ basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi49 dvips $ < -o $@59 ${BASE}.ps : ${BASE}.dvi 60 dvips ${Build}/$< -o $@ 50 61 51 ${ basename ${DOCUMENT}}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex\52 ../LaTeXmacros/common.tex ../LaTeXmacros/lstlang.sty ../LaTeXmacros/indexstyle ../bibliography/cfa.bib62 ${BASE}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} \ 63 ${Macros}/common.tex ${Macros}/lstlang.sty ${Macros}/indexstyle ../bibliography/pl.bib build/version | ${Build} 53 64 # Conditionally create an empty *.ind (index) file for inclusion until makeindex is run. 54 if [ ! -r ${basename $@}.ind ] ; then touch ${ basename $@}.ind ; fi65 if [ ! -r ${basename $@}.ind ] ; then touch ${Build}/${basename $@}.ind ; fi 55 66 # Must have *.aux file containing citations for bibtex 56 67 if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi 57 -${BibTeX} ${ basename $@}58 # Some citations reference others so run stepsagain to resolve these citations68 -${BibTeX} ${Build}/${basename $@} 69 # Some citations reference others so run again to resolve these citations 59 70 ${LaTeX} ${basename $@}.tex 60 -${BibTeX} ${ basename $@}71 -${BibTeX} ${Build}/${basename $@} 61 72 # Make index from *.aux entries and input index at end of document 62 makeindex -s ../LaTeXmacros/indexstyle ${basename $@}.idx 73 makeindex -s ${Macros}/indexstyle ${Build}/${basename $@}.idx 74 # Run again to finish citations 63 75 ${LaTeX} ${basename $@}.tex 64 76 # Run again to get index title into table of contents 65 77 ${LaTeX} ${basename $@}.tex 66 78 67 predefined :68 sed -f predefined.sed ${basename ${DOCUMENT}}.tex > ${basename $@}.cf69 70 79 ## Define the default recipes. 71 80 72 %.tex : %.fig 73 fig2dev -L eepic $< > $@81 ${Build}: 82 mkdir -p ${Build} 74 83 75 %. ps : %.fig76 fig2dev -L ps $< >$@84 %.tex : %.fig | ${Build} 85 fig2dev -L eepic $< > ${Build}/$@ 77 86 78 %.pstex : %.fig 79 fig2dev -L pstex $< > $@ 80 fig2dev -L pstex_t -p $@ $< > $@_t 87 %.ps : %.fig | ${Build} 88 fig2dev -L ps $< > ${Build}/$@ 89 90 %.pstex : %.fig | ${Build} 91 fig2dev -L pstex $< > ${Build}/$@ 92 fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t 81 93 82 94 # Local Variables: #
Note:
See TracChangeset
for help on using the changeset viewer.