Changeset 5ff188f for doc/refrat


Ignore:
Timestamp:
Jan 31, 2018, 5:49:36 PM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, 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, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
281806b
Parents:
633a642
Message:

further changes to document Makefiles

Location:
doc/refrat
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • doc/refrat/.gitignore

    r633a642 r5ff188f  
    11# generated by latex
    2 *.aux
    3 *.bbl
    4 *.blg
    5 *.brf
    6 *.dvi
    7 *.idx
    8 *.ilg
    9 *.ind
    10 *.log
    11 *.out
     2build/*
    123*.pdf
    134*.ps
    14 *.toc
  • doc/refrat/Makefile

    r633a642 r5ff188f  
    1 ## Define the appropriate configuration variables.
     1## Define the configuration variables.
    22
    3 TeXLIB = .:../LaTeXmacros:../LaTeXmacros/listings:../LaTeXmacros/enumitem:../bibliography/:
    4 LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error
     3Build = build
     4Figures = figures
     5Macros = ../LaTeXmacros
     6TeXLIB = .:${Macros}:${Build}:../bibliography:
     7LaTeX  = TEXINPUTS=${TeXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${Build}
    58BibTeX = BIBINPUTS=${TeXLIB} && export BIBINPUTS && bibtex
     9
     10MAKEFLAGS = --no-print-directory --silent #
     11VPATH = ${Figures}
    612
    713## Define the text source files.
     
    3137# Directives #
    3238
     39.PHONY : all clean                                      # not file names
     40
    3341all : ${DOCUMENT}
    3442
    3543clean :
    36         rm -f *.bbl *.aux *.dvi *.idx *.ilg *.ind *.brf *.out *.log *.toc *.blg *.pstex_t *.cf \
    37                 ${FIGURES} ${PICTURES} ${PROGRAMS} ${GRAPHS} ${basename ${DOCUMENT}}.ps ${DOCUMENT}
     44        @rm -frv ${DOCUMENT} ${basename ${DOCUMENT}}.ps ${Build}
    3845
    3946# File Dependencies #
     
    4350
    4451${basename ${DOCUMENT}}.ps : ${basename ${DOCUMENT}}.dvi
    45         dvips $< -o $@
     52        dvips ${Build}/$< -o $@
    4653
    47 ${basename ${DOCUMENT}}.dvi : Makefile ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \
    48                 ../LaTeXmacros/common.tex ../LaTeXmacros/lstlang.sty ../LaTeXmacros/indexstyle ../bibliography/cfa.bib
     54${basename ${DOCUMENT}}.dvi : Makefile ${Build} ${GRAPHS} ${PROGRAMS} ${PICTURES} ${FIGURES} ${SOURCES} ${basename ${DOCUMENT}}.tex \
     55                ${Macros}/common.tex ${Macros}/lstlang.sty ${Macros}/indexstyle ../bibliography/pl.bib
    4956        # Conditionally create an empty *.ind (index) file for inclusion until makeindex is run.
    50         if [ ! -r ${basename $@}.ind ] ; then touch ${basename $@}.ind ; fi
     57        if [ ! -r ${basename $@}.ind ] ; then touch ${Build}/${basename $@}.ind ; fi
    5158        # Must have *.aux file containing citations for bibtex
    5259        if [ ! -r ${basename $@}.aux ] ; then ${LaTeX} ${basename $@}.tex ; fi
    53         -${BibTeX} ${basename $@}
    54         # Some citations reference others so run steps again to resolve these citations
     60        -${BibTeX} ${Build}/${basename $@}
     61        # Some citations reference others so run again to resolve these citations
    5562        ${LaTeX} ${basename $@}.tex
    56         -${BibTeX} ${basename $@}
     63        -${BibTeX} ${Build}/${basename $@}
    5764        # Make index from *.aux entries and input index at end of document
    58         makeindex -s ../LaTeXmacros/indexstyle ${basename $@}.idx
     65        makeindex -s ${Macros}/indexstyle ${Build}/${basename $@}.idx
     66        # Run again to finish citations
    5967        ${LaTeX} ${basename $@}.tex
    6068        # Run again to get index title into table of contents
     
    6674## Define the default recipes.
    6775
     76${Build}:
     77        mkdir -p ${Build}
     78
    6879%.tex : %.fig
    69         fig2dev -L eepic $< > $@
     80        fig2dev -L eepic $< > ${Build}/$@
    7081
    7182%.ps : %.fig
    72         fig2dev -L ps $< > $@
     83        fig2dev -L ps $< > ${Build}/$@
    7384
    7485%.pstex : %.fig
    75         fig2dev -L pstex $< > $@
    76         fig2dev -L pstex_t -p $@ $< > $@_t
     86        fig2dev -L pstex $< > ${Build}/$@
     87        fig2dev -L pstex_t -p ${Build}/$@ $< > ${Build}/$@_t
    7788
    7889# Local Variables: #
  • doc/refrat/refrat.tex

    r633a642 r5ff188f  
    1111%% Created On       : Wed Apr  6 14:52:25 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Tue Aug 15 18:46:31 2017
    14 %% Update Count     : 106
     13%% Last Modified On : Wed Jan 31 17:30:23 2018
     14%% Update Count     : 108
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
     
    141141The manual deliberately imitates the ordering of the \Celeven standard (although the section numbering differs).
    142142Unfortunately, this means the manual contains more ``forward references'' than usual, making it harder to follow if the reader does not have a copy of the \Celeven standard.
    143 For a simple introduction to \CFA, see the companion document ``An Overview of \CFA''
    144 \cite{Ditchfield96:Overview}.
     143For a simple introduction to \CFA, see~\cite{Cforall}.
    145144
    146145\begin{rationale}
     
    596595\begin{rationale}
    597596Since each subsection describes the interpretations of an expression in terms of the interpretations of its subexpressions, this chapter can be taken as describing an overload resolution algorithm that uses one bottom-up pass over an expression tree.
    598 Such an algorithm was first described (for Ada) by Baker~\cite{Bak:overload}.
     597Such an algorithm was first described (for Ada) by Baker~\cite{Baker82}.
    599598It is extended here to handle polymorphic functions and arithmetic conversions.
    600599The overload resolution rules and the predefined functions have been chosen so that, in programs that do not introduce overloaded declarations, expressions will have the same meaning in C and in \CFA.
     
    37753774
    37763775\bibliographystyle{plain}
    3777 \bibliography{cfa}
     3776\bibliography{pl}
    37783777
    37793778
Note: See TracChangeset for help on using the changeset viewer.