OpenCores
URL https://opencores.org/ocsvn/phr/phr/trunk

Subversion Repositories phr

[/] [phr/] [trunk/] [doc/] [informe-tesis/] [template/] [metathesis-v2.0/] [Makefile] - Blame information for rev 385

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 guanucolui
SHELL=          /bin/sh
2
RM=             /bin/rm
3
LATEX=          /usr/bin/latex
4
BIBTEX=         /usr/bin/bibtex
5
DVIPS=          /usr/bin/dvips
6
PS2PDF=         /usr/bin/ps2pdf
7
GS=             /usr/bin/gs
8
 
9
.SUFFIXES:      .tex .dvi .eps .ps .pdf
10
 
11
MAIN = thesis
12
 
13
EMAIN = ethesis
14
 
15
FIGDIR = figures
16
 
17
FIGURES =       $(FIGDIR)/MUN_Logo_Pantone.eps          \
18
                $(FIGDIR)/enrollment.eps                \
19
                $(FIGDIR)/enrollment-landscape.eps      \
20
                $(FIGDIR)/enrollment-rotate.eps         \
21
                $(FIGDIR)/db-deadlock.eps
22
 
23
FILES = thesis.tex thesis.sty                                           \
24
        abstract.tex ack.tex contents.tex tables.tex figures.tex        \
25
        chap1.tex chap2.tex chap3.tex chap4.tex chap5.tex chap6.tex     \
26
        bib.tex ref.bib apdxa.tex
27
 
28
$(MAIN).dvi:    $(MAIN).tex $(FIGURES) $(FILES)
29
        $(LATEX) $*.tex;
30
        $(BIBTEX) $*;
31
        $(LATEX) $*.tex;
32
        while grep -s 'Rerun' $*.log 2> /dev/null; do   \
33
                $(LATEX) $*.tex;                        \
34
        done
35
 
36
# GhostScript command line options based upon:
37
# http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm#PDFA
38
$(EMAIN).pdf:   $(MAIN).ps
39
        $(GS) -sPAPERSIZE=letter -sProcessColorModel=DeviceCMYK -q \
40
        -dPDFA -dBATCH -dNOPAUSE -dNOOUTERSAVE -dUseCIEColor \
41
        -sDEVICE=pdfwrite -sOutputFile=$@ pdfa/PDFA_def.ps  $<
42
 
43
.dvi.ps:        $*.dvi
44
        $(DVIPS) -Ppdf -G0 -t letter -o $@ $<
45
 
46
.ps.pdf:       $*.dvi
47
        $(PS2PDF) -sPAPERSIZE=letter $< $@
48
 
49
clean:
50
        $(RM) -f *.aux \
51
                $(MAIN).log $(MAIN).dvi $(MAIN).ps $(MAIN).blg $(MAIN).bbl \
52
                $(MAIN).lot $(MAIN).lof $(MAIN).toc $(MAIN).pdf $(EMAIN).pdf
53
 
54
# Suggested by Neil B.
55
neat:
56
        $(RM) -f *.aux \
57
                $(MAIN).log $(MAIN).blg $(MAIN).bbl \
58
                $(MAIN).lot $(MAIN).lof $(MAIN).toc

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.