-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile
75 lines (60 loc) · 1.63 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 4.0 Internacional. Para ver uma cópia desta licença, visite https://creativecommons.org/licenses/by-sa/4.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: main.tex
cp config-book.knd config.knd
pdflatex main
bibtex main
makeindex main
pdflatex main
pdflatex main
########################################
# FORMATO LIVRO DVI
########################################
dvi: main.tex
cp config-book.knd config.knd
latex main
bibtex main
makeindex main
latex main
latex main
cp config-book.knd config.knd
########################################
# FORMATO HTML
########################################
html: main.html
main.html: main.tex
cp config-html.knd config.knd
mkdir -p ./html
rm -f ./html/*
latex main
bibtex main
latex main
latex main
htlatex main "myconfig,3,notoc*" " -cunihtf" "-d./html/"
cp config-book.knd config.knd
########################################
# TODOS AS VERSÕES EM FORMATO PDF
########################################
all: main.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 *.lof