URL
https://opencores.org/ocsvn/phr/phr/trunk
Subversion Repositories phr
[/] [phr/] [trunk/] [doc/] [informe-tesis/] [template/] [metathesis-v2.0/] [Makefile] - Rev 111
Go to most recent revision | Compare with Previous | Blame | View Log
SHELL= /bin/sh
RM= /bin/rm
LATEX= /usr/bin/latex
BIBTEX= /usr/bin/bibtex
DVIPS= /usr/bin/dvips
PS2PDF= /usr/bin/ps2pdf
GS= /usr/bin/gs
.SUFFIXES: .tex .dvi .eps .ps .pdf
MAIN = thesis
EMAIN = ethesis
FIGDIR = figures
FIGURES = $(FIGDIR)/MUN_Logo_Pantone.eps \
$(FIGDIR)/enrollment.eps \
$(FIGDIR)/enrollment-landscape.eps \
$(FIGDIR)/enrollment-rotate.eps \
$(FIGDIR)/db-deadlock.eps
FILES = thesis.tex thesis.sty \
abstract.tex ack.tex contents.tex tables.tex figures.tex \
chap1.tex chap2.tex chap3.tex chap4.tex chap5.tex chap6.tex \
bib.tex ref.bib apdxa.tex
$(MAIN).dvi: $(MAIN).tex $(FIGURES) $(FILES)
$(LATEX) $*.tex;
$(BIBTEX) $*;
$(LATEX) $*.tex;
while grep -s 'Rerun' $*.log 2> /dev/null; do \
$(LATEX) $*.tex; \
done
# GhostScript command line options based upon:
# http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm#PDFA
$(EMAIN).pdf: $(MAIN).ps
$(GS) -sPAPERSIZE=letter -sProcessColorModel=DeviceCMYK -q \
-dPDFA -dBATCH -dNOPAUSE -dNOOUTERSAVE -dUseCIEColor \
-sDEVICE=pdfwrite -sOutputFile=$@ pdfa/PDFA_def.ps $<
.dvi.ps: $*.dvi
$(DVIPS) -Ppdf -G0 -t letter -o $@ $<
.ps.pdf: $*.dvi
$(PS2PDF) -sPAPERSIZE=letter $< $@
clean:
$(RM) -f *.aux \
$(MAIN).log $(MAIN).dvi $(MAIN).ps $(MAIN).blg $(MAIN).bbl \
$(MAIN).lot $(MAIN).lof $(MAIN).toc $(MAIN).pdf $(EMAIN).pdf
# Suggested by Neil B.
neat:
$(RM) -f *.aux \
$(MAIN).log $(MAIN).blg $(MAIN).bbl \
$(MAIN).lot $(MAIN).lof $(MAIN).toc
Go to most recent revision | Compare with Previous | Blame | View Log