Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/papers/concurrency/Makefile

    r5ff188f ra43dd54  
    22
    33Build = build
    4 Figures = figures
    54Macros = ../../LaTeXmacros
    6 TeXLIB = .:style:annex:${Macros}:${Build}:../../bibliography:
    7 LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build}
     5TeXLIB = .:style:annex:${Macros}:${Build}:/usr/local/bibliographies:
     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}
    1210
    1311## Define the text source files.
     
    4341# Directives #
    4442
    45 .PHONY : all clean                                      # not file names
     43.PHONY : all clean                                                                              # not file names
    4644
    4745all : ${DOCUMENT}
     
    5957
    6058${basename ${DOCUMENT}}.dvi : Makefile ${Build} ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \
    61                 ${Macros}/common.tex ${Macros}/indexstyle annex/local.bib ../../bibliography/pl.bib
    62         # Must have *.aux file containing citations for bibtex
    63         if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi
    64         -${BibTeX} ${Build}/${basename $@}
    65         # Some citations reference others so run again to resolve these citations
     59                        ${Macros}/common.tex ${Macros}/indexstyle annex/local.bib /usr/local/bibliographies/pl.bib
     60        if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi # Must have *.aux file containing citations for bibtex
     61        -${BibTeX} ${Build}/${basename $@}                                      # Some citations reference others so run again to resolve these citations
    6662        ${LaTeX} ${basename $@}.tex
    6763        -${BibTeX} ${Build}/${basename $@}
    68         # Run again to finish citations
    69         ${LaTeX} ${basename $@}.tex
     64        ${LaTeX} ${basename $@}.tex                                                     # Finish citations
    7065
    7166## Define the default recipes.
     67
     68vpath %.tex ${subst .zzz,,${subst .zzz ,:,${SOURCES}}}  # add prefix for source
     69vpath %.fig ${subst .zzz,,${subst .zzz ,:,${SOURCES}}}  # add prefix for source
    7270
    7371${Build}:
    7472        mkdir -p ${Build}
    7573
    76 %.tex : %.fig
     74%.tex : figures/%.fig
    7775        fig2dev -L eepic $< > ${Build}/$@
    7876
    79 %.ps : %.fig
     77%.ps : figures/%.fig
    8078        fig2dev -L ps $< > ${Build}/$@
    8179
    82 %.pstex : %.fig
     80%.pstex : figures/%.fig
    8381        fig2dev -L pstex $< > ${Build}/$@
    8482        fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
    8583
    8684# Local Variables: #
     85# tab-width : 4 #
    8786# compile-command: "make" #
    8887# End: #
Note: See TracChangeset for help on using the changeset viewer.