]> git.immae.eu Git - perso/Denise/aventuriers.git/blame_incremental - makefile
Add shell.nix
[perso/Denise/aventuriers.git] / makefile
... / ...
CommitLineData
1LISTEFICHIERS=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
3COMMANDE_TZ=TZ='Europe/Paris'
4#COMMANDE_TZ=TZ='Australia/Adelaide'
5
6all: aventuriers.pdf
7
8tout: aventuriers.pdf html kindle epub
9
10html: html/aventuriers.html
11
12kindle: aventuriers.mobi
13
14epub: aventuriers.epub
15
16image: symbole.png
17
18aventuriers.mobi: html/aventuriers.html
19 nice -19 ebook-convert html/aventuriers.html aventuriers.mobi
20
21aventuriers.epub: html/aventuriers.html
22 nice -19 ebook-convert html/aventuriers.html aventuriers.epub
23
24aventuriers.pdf: $(LISTEFICHIERS)
25 pdflatex aventuriers.tex
26 $(COMMANDE_TZ) pdflatex aventuriers.tex
27
28
29html/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
34symbole.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
40encyclo: encyclo.pdf
41
42encyclo.pdf: encyclo.tex noms.tex
43 pdflatex encyclo.tex
44 pdflatex encyclo.tex