source: doc/papers/general/Makefile @ 25fcb84

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumwith_gc
Last change on this file since 25fcb84 was 3d60c08, checked in by Peter A. Buhr <pabuhr@…>, 6 years ago

complete referee changes

  • Property mode set to 100644
File size: 2.5 KB
RevLine 
[a43dd54]1## Define the configuration variables.
2
3Build = build
[5ff188f]4Figures = figures
[d046db2]5Macros = ../AMA/AMA-stix/ama
[a43dd54]6TeXLIB = .:${Macros}:${Build}:../../bibliography:
[5ff188f]7LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build}
[a43dd54]8BibTeX = BIBINPUTS=${TeXLIB} && export BIBINPUTS && bibtex
9
[49eb6a2]10MAKEFLAGS = --no-print-directory # --silent
[23c27039]11VPATH = ${Build} ${Figures} evaluation
[a43dd54]12
13## Define the text source files.
14
15SOURCES = ${addsuffix .tex, \
16Paper \
17}
18
19FIGURES = ${addsuffix .tex, \
[04ba967]20Cdecl \
[a43dd54]21}
22
23PICTURES = ${addsuffix .pstex, \
24}
25
26PROGRAMS = ${addsuffix .tex, \
27}
28
29GRAPHS = ${addsuffix .tex, \
30timing \
31}
32
33## Define the documents that need to be made.
34
35DOCUMENT = Paper.pdf
[53dece1]36BASE = ${basename ${DOCUMENT}}
[a43dd54]37
38# Directives #
39
[5ff188f]40.PHONY : all clean                                      # not file names
[a43dd54]41
42all : ${DOCUMENT}
43
44clean :
[53dece1]45        @rm -frv ${DOCUMENT} ${BASE}.ps WileyNJD-AMA.bst ${BASE}.out.ps ${Build}
[a43dd54]46
[3d60c08]47Paper.zip :
48        zip -x general/.gitignore -x general/"*AMA*" -x general/Paper.out.ps -x general/Paper.tex.plain -x general/evaluation.zip -x general/mail -x general/response -x general/test.c -x general/evaluation.zip -x general/Paper.tex.plain -x general/Paper.ps -x general/Paper.pdf -x general/"*build*" -x general/evaluation/.gitignore -x general/evaluation/timing.xlsx -r Paper.zip general
49
[cfc3e0f]50evaluation.zip :
51        zip -x evaluation/.gitignore  -x evaluation/timing.xlsx -x evaluation/timing.dat -r evaluation.zip evaluation
52
[a43dd54]53# File Dependencies #
54
[53dece1]55${DOCUMENT} : ${BASE}.ps
[a43dd54]56        ps2pdf $<
57
[53dece1]58${BASE}.ps : ${BASE}.dvi
[3fd3bda]59        dvips ${Build}/$< -o $@
[a43dd54]60
[53dece1]61${BASE}.dvi : Makefile ${Build} ${BASE}.out.ps WileyNJD-AMA.bst ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} \
[49eb6a2]62                ../../bibliography/pl.bib
[5ff188f]63        # Must have *.aux file containing citations for bibtex
64        if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi
[49eb6a2]65        ${BibTeX} ${Build}/${basename $@}
[5ff188f]66        # Some citations reference others so run again to resolve these citations
[a43dd54]67        ${LaTeX} ${basename $@}.tex
[49eb6a2]68        ${BibTeX} ${Build}/${basename $@}
[5ff188f]69        # Run again to finish citations
70        ${LaTeX} ${basename $@}.tex
[a43dd54]71
72## Define the default recipes.
73
[cfc3e0f]74${Build} :
[a43dd54]75        mkdir -p ${Build}
76
[cfc3e0f]77${BASE}.out.ps : ${Build}
[fb16d5c]78        ln -fs ${Build}/Paper.out.ps .
[53dece1]79
[cfc3e0f]80WileyNJD-AMA.bst :
[d046db2]81        ln -fs ../AMA/AMA-stix/ama/WileyNJD-AMA.bst .
[53dece1]82
[fb16d5c]83${GRAPHS} : ${Build} timing.gp timing.dat
[5ff188f]84        gnuplot -e Build="'${Build}/'" evaluation/timing.gp
[a43dd54]85
[fb16d5c]86%.tex : %.fig ${Build}
[a43dd54]87        fig2dev -L eepic $< > ${Build}/$@
88
[fb16d5c]89%.ps : %.fig ${Build}
[a43dd54]90        fig2dev -L ps $< > ${Build}/$@
91
[fb16d5c]92%.pstex : %.fig ${Build}
[a43dd54]93        fig2dev -L pstex $< > ${Build}/$@
94        fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
95
96# Local Variables: #
97# compile-command: "make" #
98# End: #
Note: See TracBrowser for help on using the repository browser.