Ignore:
Timestamp:
Apr 20, 2021, 3:03:36 PM (4 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
arm-eh, jacob/cs343-translation, master
Children:
59f3f61
Parents:
f17fb7d
Message:

Andrew MMath: Changed driver: pdflatex to latex.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/andrew_beach_MMath/Makefile

    rf17fb7d r6a8208c  
    44BUILD=out
    55TEXSRC=$(wildcard *.tex)
     6FIGSRC=$(wildcard *.fig)
    67BIBSRC=$(wildcard *.bib)
    78STYSRC=$(wildcard *.sty)
     
    1314BASE= ${DOC:%.pdf=%}
    1415
     16RAWSRC=${TEXSRC} ${BIBSRC} ${STYSRC} ${CLSSRC}
     17FIGTEX=${FIGSRC:%.fig=${BUILD}/%.tex}
     18
    1519### Special Rules:
    1620
     
    1822
    1923### Commands:
    20 LATEX=TEXINPUTS=${TEXLIB} pdflatex -halt-on-error -output-directory=${BUILD}
     24LATEX=TEXINPUTS=${TEXLIB} latex -halt-on-error -output-directory=${BUILD}
    2125BIBTEX=BIBINPUTS=${BIBLIB} bibtex
    2226GLOSSARY=INDEXSTYLE=${BUILD} makeglossaries-lite
     
    2630all: ${DOC}
    2731
    28 ${BUILD}/${DOC}: ${TEXSRC} ${BIBSRC} ${STYSRC} ${CLSSRC} Makefile | ${BUILD}
     32# The main rule, it does all the tex/latex processing.
     33${BUILD}/${BASE}.dvi: ${RAWSRC} ${FIGTEX} Makefile | ${BUILD}
    2934        ${LATEX} ${BASE}
    3035        ${BIBTEX} ${BUILD}/${BASE}
     
    3338        ${LATEX} ${BASE}
    3439
    35 ${DOC}: ${BUILD}/${DOC}
    36         cp $< $@
     40# Convert xfig output to tex. (Generates \special declarations.)
     41${FIGTEX}: ${BUILD}/%.tex: %.fig | ${BUILD}
     42        fig2dev -L eepic $< > $@
     43
     44# Step through dvi & postscript to handle xfig specials.
     45%.pdf : ${BUILD}/%.dvi
     46        dvipdf $^ $@
    3747
    3848${BUILD}:
Note: See TracChangeset for help on using the changeset viewer.