-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathMakefile
75 lines (60 loc) · 1.66 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#Este trabalho está licenciado sob a Licença Creative Commons Atribuição-CompartilhaIgual 3.0 Não Adaptada. Para ver uma cópia desta licença, visite https://creativecommons.org/licenses/by-sa/3.0/ ou envie uma carta para Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
########################################
#
# ATENÇÃO
#
# POR SEGURANÇA, NÃO EDITE ESTE ARQUIVO.
#
########################################
########################################
# FORMATO LIVRO PDF
########################################
pdf: livro.tex
cp config-book.knd config.knd
pdflatex livro
bibtex livro
makeindex livro
pdflatex livro
pdflatex livro
########################################
# FORMATO LIVRO DVI
########################################
dvi: livro.tex
cp config-book.knd config.knd
latex livro
bibtex livro
makeindex livro
latex livro
latex livro
cp config-book.knd config.knd
########################################
# FORMATO HTML
########################################
html: livro.html
livro.html: livro.tex
cp config-html.knd config.knd
mkdir -p ./html
rm -f ./html/*
latex livro
bibtex livro
latex livro
latex livro
htlatex livro.tex "myconfig.cfg,3,notoc*" " -cunihtf" "-d./html/"
cp config-book.knd config.knd
########################################
# TODOS AS VERSÕES EM FORMATO PDF
########################################
all: livro.tex
make clean
make pdf
make clean
make dvi
make clean
make html
.PHONY: clean
clean:
rm -f *.aux */*.aux *.log *.out *.toc *.bbl */*.bbl \
*.idx *.ilg *.ind *.blg *.backup \
*.4tc *.lg *.tmp *.xref *.png *.html \
*.4ct *.css *.idv *.maf *.mtc *.mtc0 \
*.xml