Ignore:
Timestamp:
Apr 14, 2021, 10:06:22 AM (4 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
f6106a6
Parents:
ea1c97b
Message:

Reverted Peter's changes after making local copies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/andrew_beach_MMath/Makefile

    rea1c97b rde47a9d  
    11### Makefile for Andrew Beach's Masters Thesis
    22
    3 DOC = uw-ethesis.pdf
    4 BASE = ${DOC:%.pdf=%} # remove suffix
    5 # directory for latex clutter files
    6 BUILD = build
    7 TEXSRC = $(wildcard *.tex)
    8 FIGSRC = $(wildcard *.fig)
    9 BIBSRC = $(wildcard *.bib)
    10 STYSRC = $(wildcard *.sty)
    11 CLSSRC = $(wildcard *.cls)
    12 TEXLIB = .:../../LaTeXmacros:${BUILD}: # common latex macros
    13 BIBLIB = .:../../bibliography # common citation repository
     3DOC=uw-ethesis.pdf
     4BUILD=out
     5TEXSRC=$(wildcard *.tex)
     6BIBSRC=$(wildcard *.bib)
     7STYSRC=$(wildcard *.sty)
     8CLSSRC=$(wildcard *.cls)
     9TEXLIB= .:../../LaTeXmacros:${BUILD}:
     10BIBLIB= .:../../bibliography
    1411
    15 MAKEFLAGS = --no-print-directory # --silent
    16 VPATH = ${BUILD}
     12# Since tex programs like to add their own file extensions:
     13BASE= ${DOC:%.pdf=%}
    1714
    1815### Special Rules:
    1916
    2017.PHONY: all clean deepclean
    21 .PRECIOUS: %.dvi %.ps # do not delete intermediate files
    2218
    2319### Commands:
    24 LATEX = TEXINPUTS=${TEXLIB} && export TEXINPUTS && latex -halt-on-error -output-directory=${BUILD}
    25 BIBTEX = BIBINPUTS=${BIBLIB} bibtex
    26 GLOSSARY = INDEXSTYLE=${BUILD} makeglossaries-lite
     20LATEX=TEXINPUTS=${TEXLIB} pdflatex -halt-on-error -output-directory=${BUILD}
     21BIBTEX=BIBINPUTS=${BIBLIB} bibtex
     22GLOSSARY=INDEXSTYLE=${BUILD} makeglossaries-lite
    2723
    28 ### Rules and Recipes:
     24### Rules and Recipies:
    2925
    3026all: ${DOC}
    3127
    32 ${BUILD}/%.dvi: ${TEXSRC} ${FIGSRC:.fig=.tex} ${BIBSRC} ${STYSRC} ${CLSSRC} Makefile | ${BUILD}
     28${BUILD}/${DOC}: ${TEXSRC} ${BIBSRC} ${STYSRC} ${CLSSRC} Makefile | ${BUILD}
    3329        ${LATEX} ${BASE}
    3430        ${BIBTEX} ${BUILD}/${BASE}
     
    3733        ${LATEX} ${BASE}
    3834
     35${DOC}: ${BUILD}/${DOC}
     36        cp $< $@
     37
    3938${BUILD}:
    4039        mkdir $@
    4140
    42 %.pdf : ${BUILD}/%.ps | ${BUILD}
    43         ps2pdf $<
    44 
    45 %.ps : %.dvi | ${BUILD}
    46         dvips $< -o $@
    47 
    48 %.tex : %.fig | ${BUILD}
    49         fig2dev -L eepic $< > ${BUILD}/$@
    50 
    51 %.ps : %.fig | ${BUILD}
    52         fig2dev -L ps $< > ${BUILD}/$@
    53 
    54 %.pstex : %.fig | ${BUILD}
    55         fig2dev -L pstex $< > ${BUILD}/$@
    56         fig2dev -L pstex_t -p ${BUILD}/$@ $< > ${BUILD}/$@_t
    57 
    5841clean:
    59         @rm -frv ${BUILD} *.fig.bak
     42        -@rm -rv ${BUILD}
    6043
    6144deepclean: clean
    62         -@rm -fv ${DOC}
     45        -@rm -v ${DOC}
Note: See TracChangeset for help on using the changeset viewer.