Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/papers/general/Makefile

    r5ff188f ra43dd54  
    22
    33Build = build
    4 Figures = figures
    54Macros = ../../LaTeXmacros
    65TeXLIB = .:${Macros}:${Build}:../../bibliography:
    7 LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build}
     6LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build} -interaction=nonstopmode
    87BibTeX = BIBINPUTS=${TeXLIB} && export BIBINPUTS && bibtex
    98
    109MAKEFLAGS = --no-print-directory --silent #
    11 VPATH = ${Figures} evaluation
    1210
    1311## Define the text source files.
     
    3634# Directives #
    3735
    38 .PHONY : all clean                                      # not file names
     36.PHONY : all clean                                                                              # not file names
    3937
    4038all : ${DOCUMENT}
     
    5250
    5351${basename ${DOCUMENT}}.dvi : Makefile ${Build} ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \
    54                 ${Macros}/common.tex ${Macros}/indexstyle ../../bibliography/pl.bib
    55         # Must have *.aux file containing citations for bibtex
    56         if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi
    57         -${BibTeX} ${Build}/${basename $@}
    58         # Some citations reference others so run again to resolve these citations
     52                        ${Macros}/common.tex ${Macros}/indexstyle ../../bibliography/cfa.bib
     53        if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi # Must have *.aux file containing citations for bibtex
     54        -${BibTeX} ${Build}/${basename $@}                                      # Some citations reference others so run again to resolve these citations
    5955        ${LaTeX} ${basename $@}.tex
    6056        -${BibTeX} ${Build}/${basename $@}
    61         # Run again to finish citations
    62         ${LaTeX} ${basename $@}.tex
     57        ${LaTeX} ${basename $@}.tex                                                     # Finish citations
    6358
    6459## Define the default recipes.
     60
     61vpath %.tex ${subst .zzz,,${subst .zzz ,:,${SOURCES}}}  # add prefix for source
     62vpath %.fig ${subst .zzz,,${subst .zzz ,:,${SOURCES}}}  # add prefix for source
    6563
    6664${Build}:
    6765        mkdir -p ${Build}
    6866
    69 ${GRAPHS} : timing.gp timing.dat
    70         gnuplot -e Build="'${Build}/'" evaluation/timing.gp
     67${GRAPHS} : evaluation/timing.gp evaluation/timing.dat
     68        gnuplot evaluation/timing.gp
    7169
    72 %.tex : %.fig
     70%.tex : figures/%.fig
    7371        fig2dev -L eepic $< > ${Build}/$@
    7472
    75 %.ps : %.fig
     73%.ps : figures/%.fig
    7674        fig2dev -L ps $< > ${Build}/$@
    7775
    78 %.pstex : %.fig
     76%.pstex : figures/%.fig
    7977        fig2dev -L pstex $< > ${Build}/$@
    8078        fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
    8179
    8280# Local Variables: #
     81# tab-width : 4 #
    8382# compile-command: "make" #
    8483# End: #
Note: See TracChangeset for help on using the changeset viewer.