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, enum, forall-pointer-decay, 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/general/Makefile

    r633a642 r5ff188f  
    22
    33Build = build
     4Figures = figures
    45Macros = ../../LaTeXmacros
    56TeXLIB = .:${Macros}:${Build}:../../bibliography:
    6 LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build} -interaction=nonstopmode
     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} evaluation
    1012
    1113## Define the text source files.
     
    3436# Directives #
    3537
    36 .PHONY : all clean                                                                              # not file names
     38.PHONY : all clean                                      # not file names
    3739
    3840all : ${DOCUMENT}
     
    5052
    5153${basename ${DOCUMENT}}.dvi : Makefile ${Build} ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \
    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
     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
    5559        ${LaTeX} ${basename $@}.tex
    5660        -${BibTeX} ${Build}/${basename $@}
    57         ${LaTeX} ${basename $@}.tex                                                     # Finish citations
     61        # Run again to finish citations
     62        ${LaTeX} ${basename $@}.tex
    5863
    5964## Define the default recipes.
    60 
    61 vpath %.tex ${subst .zzz,,${subst .zzz ,:,${SOURCES}}}  # add prefix for source
    62 vpath %.fig ${subst .zzz,,${subst .zzz ,:,${SOURCES}}}  # add prefix for source
    6365
    6466${Build}:
    6567        mkdir -p ${Build}
    6668
    67 ${GRAPHS} : evaluation/timing.gp evaluation/timing.dat
    68         gnuplot evaluation/timing.gp
     69${GRAPHS} : timing.gp timing.dat
     70        gnuplot -e Build="'${Build}/'" evaluation/timing.gp
    6971
    70 %.tex : figures/%.fig
     72%.tex : %.fig
    7173        fig2dev -L eepic $< > ${Build}/$@
    7274
    73 %.ps : figures/%.fig
     75%.ps : %.fig
    7476        fig2dev -L ps $< > ${Build}/$@
    7577
    76 %.pstex : figures/%.fig
     78%.pstex : %.fig
    7779        fig2dev -L pstex $< > ${Build}/$@
    7880        fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
    7981
    8082# Local Variables: #
    81 # tab-width : 4 #
    8283# compile-command: "make" #
    8384# End: #
Note: See TracChangeset for help on using the changeset viewer.