Ignore:
Timestamp:
Jan 31, 2018, 5:49:36 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
281806b
Parents:
633a642
Message:

further changes to document Makefiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/papers/concurrency/Makefile

    r633a642 r5ff188f  
    22
    33Build = build
     4Figures = figures
    45Macros = ../../LaTeXmacros
    5 TeXLIB = .:style:annex:${Macros}:${Build}:/usr/local/bibliographies:
    6 LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build} -interaction=nonstopmode
     6TeXLIB = .:style:annex:${Macros}:${Build}:../../bibliography:
     7LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build}
    78BibTeX = BIBINPUTS=${TeXLIB} && export BIBINPUTS && bibtex
    89
    910MAKEFLAGS = --no-print-directory --silent #
     11VPATH = ${Figures}
    1012
    1113## Define the text source files.
     
    4143# Directives #
    4244
    43 .PHONY : all clean                                                                              # not file names
     45.PHONY : all clean                                      # not file names
    4446
    4547all : ${DOCUMENT}
     
    5759
    5860${basename ${DOCUMENT}}.dvi : Makefile ${Build} ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \
    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
     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
    6266        ${LaTeX} ${basename $@}.tex
    6367        -${BibTeX} ${Build}/${basename $@}
    64         ${LaTeX} ${basename $@}.tex                                                     # Finish citations
     68        # Run again to finish citations
     69        ${LaTeX} ${basename $@}.tex
    6570
    6671## Define the default recipes.
    67 
    68 vpath %.tex ${subst .zzz,,${subst .zzz ,:,${SOURCES}}}  # add prefix for source
    69 vpath %.fig ${subst .zzz,,${subst .zzz ,:,${SOURCES}}}  # add prefix for source
    7072
    7173${Build}:
    7274        mkdir -p ${Build}
    7375
    74 %.tex : figures/%.fig
     76%.tex : %.fig
    7577        fig2dev -L eepic $< > ${Build}/$@
    7678
    77 %.ps : figures/%.fig
     79%.ps : %.fig
    7880        fig2dev -L ps $< > ${Build}/$@
    7981
    80 %.pstex : figures/%.fig
     82%.pstex : %.fig
    8183        fig2dev -L pstex $< > ${Build}/$@
    8284        fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
    8385
    8486# Local Variables: #
    85 # tab-width : 4 #
    8687# compile-command: "make" #
    8788# End: #
Note: See TracChangeset for help on using the changeset viewer.