Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/papers/OOPSLA17/Makefile

    r5ff188f rf4e3419d  
    1 ## Define the configuration variables.
     1## Define the appropriate configuration variables.
    22
    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}
     3TeXLIB = .:../LaTeXmacros:../LaTeXmacros/listings:../LaTeXmacros/enumitem:../bibliography/:
     4LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error
    85BibTeX = BIBINPUTS=${TeXLIB} && export BIBINPUTS && bibtex
    9 
    10 MAKEFLAGS = --no-print-directory --silent #
    11 VPATH = ${Figures} evaluation
    126
    137## Define the text source files.
     
    3933
    4034clean :
    41         @rm -frv ${DOCUMENT} ${basename ${DOCUMENT}}.ps ${Build}
     35        rm -f *.bbl *.aux *.dvi *.idx *.ilg *.ind *.brf *.out *.log *.toc *.blg *.pstex_t *.cf \
     36                ${FIGURES} ${PICTURES} ${PROGRAMS} ${GRAPHS} ${basename ${DOCUMENT}}.ps ${DOCUMENT}
    4237
    4338# File Dependencies #
     
    4742
    4843${basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi
    49         dvips ${Build}/$< -o $@
     44        dvips $< -o $@
    5045
    51 ${basename ${DOCUMENT}}.dvi : Makefile ${Build} ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex ../../bibliography/pl.bib
     46#${DOCUMENT} : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \
     47
     48${basename ${DOCUMENT}}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex ../bibliography/cfa.bib
     49        # Conditionally create an empty *.idx (index) file for inclusion until makeindex is run.
     50        if [ ! -r ${basename $@}.idx ] ; then touch ${basename $@}.idx ; fi
    5251        # Must have *.aux file containing citations for bibtex
    5352        if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi
    54         -${BibTeX} ${Build}/${basename $@}
    55         # Some citations reference others so run again to resolve these citations
     53        -${BibTeX} ${basename $@}
     54        # Some citations reference others so run steps again to resolve these citations
    5655        ${LaTeX} ${basename $@}.tex
    57         -${BibTeX} ${Build}/${basename $@}
    58         # Run again to finish citations
     56        -${BibTeX} ${basename $@}
     57        # Make index from *.aux entries and input index at end of document
     58        makeindex -s ../LaTeXmacros/indexstyle ${basename $@}.idx
    5959        ${LaTeX} ${basename $@}.tex
     60        # Run again to get index title into table of contents
     61        ${LaTeX} ${basename $@}.tex
     62
     63predefined :
     64        sed -f predefined.sed ${basename ${DOCUMENT}}.tex > ${basename $@}.cf
    6065
    6166## Define the default recipes.
    6267
    63 ${Build}:
    64         mkdir -p ${Build}
    65 
    66 ${GRAPHS} : timing.gp timing.dat
    67         gnuplot -e Build="'${Build}/'" evaluation/timing.gp
     68${GRAPHS} : evaluation/timing.gp evaluation/timing.dat
     69        gnuplot evaluation/timing.gp
    6870
    6971%.tex : %.fig
    70         fig2dev -L eepic $< > ${Build}/$@
     72        fig2dev -L eepic $< > $@
    7173
    7274%.ps : %.fig
    73         fig2dev -L ps $< > ${Build}/$@
     75        fig2dev -L ps $< > $@
    7476
    7577%.pstex : %.fig
    76         fig2dev -L pstex $< > ${Build}/$@
    77         fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
     78        fig2dev -L pstex $< > $@
     79        fig2dev -L pstex_t -p $@ $< > $@_t
    7880
    7981# Local Variables: #
Note: See TracChangeset for help on using the changeset viewer.