]> git.immae.eu Git - perso/Denise/aventuriers.git/blob - makefile
ajout de l'heure et gestion de la timezone
[perso/Denise/aventuriers.git] / makefile
1 LISTEFICHIERS=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 arc_13_retourI.tex
2
3 COMMANDE_TZ=TZ='Europe/Paris'
4 #COMMANDE_TZ=TZ='Australia/Adelaide'
5
6 all: aventuriers.pdf
7
8 tout: aventuriers.pdf html kindle epub
9
10 html: html/aventuriers.html
11
12 kindle: aventuriers.mobi
13
14 epub: aventuriers.epub
15
16 image: symbole.png
17
18 aventuriers.mobi: html/aventuriers.html
19 nice -19 ebook-convert html/aventuriers.html aventuriers.mobi
20
21 aventuriers.epub: html/aventuriers.html
22 nice -19 ebook-convert html/aventuriers.html aventuriers.epub
23
24 aventuriers.pdf: $(LISTEFICHIERS)
25 pdflatex aventuriers.tex
26 $(COMMANDE_TZ) pdflatex aventuriers.tex
27
28
29 html/aventuriers.html: $(LISTEFICHIERS)
30 mkdir -p html
31 $(COMMANDE_TZ) nice -19 htlatex aventuriers.tex "xhtml,charset=utf-8" " -cmozhtf -utf8" -dhtml/ -interaction=nonstopmode
32 # ln -sf aventuriers.html index.html
33
34 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 ebb -x symbole.png
39
40 encyclo: encyclo.pdf
41
42 encyclo.pdf: encyclo.tex noms.tex
43 pdflatex encyclo.tex
44 pdflatex encyclo.tex