]> git.immae.eu Git - perso/Denise/aventuriers.git/blob - makefile
ajouté epub dans le makefile pour "tout"
[perso/Denise/aventuriers.git] / makefile
1 LISTEFICHIERS=html/symbole.png aventuriers.tex arc_5RCDA.tex arc_6_CI.tex arc_3RC.tex arc_libeseve.tex arc_JC.tex arc_4AD.tex arc_4.5_JCS.tex intro.tex arc_CID.tex noms.tex arc_7_JCSR.tex arc_8.tex arc_9.tex arc_10_chateau.tex arc_11_sauvetages.tex arc_12_sauvetagesvraiment.tex
2
3
4 all: aventuriers.pdf
5
6 tout: aventuriers.pdf html kindle epub
7
8 html: html/aventuriers.html
9
10 kindle: aventuriers.mobi
11
12 epub: aventuriers.epub
13
14 image: html/symbole.png
15
16 aventuriers.mobi: html/aventuriers.html
17 nice -19 ebook-convert html/aventuriers.html aventuriers.mobi
18
19 aventuriers.epub: html/aventuriers.html
20 nice -19 ebook-convert html/aventuriers.html aventuriers.epub
21
22 aventuriers.pdf: $(LISTEFICHIERS)
23 pdflatex aventuriers.tex
24 pdflatex aventuriers.tex
25
26
27
28
29 html/aventuriers.html: $(LISTEFICHIERS)
30 mkdir -p html
31 nice -19 htlatex aventuriers.tex "xhtml,charset=utf-8" " -cmozhtf -utf8" -dhtml/ -interaction=nonstopmode
32 # ln -sf aventuriers.html index.html
33
34 html/symbole.png: symbole.svg
35 mkdir -p html
36 # inkscape -w 75 symbole.svg --export-filename html/symbole.png
37 inkscape -D -z --file=symbole.svg --export-png=symbole.png --export-width=75
38
39 encyclo: encyclo.pdf
40
41 encyclo.pdf: encyclo.tex noms.tex
42 pdflatex encyclo.tex
43 pdflatex encyclo.tex