]> git.immae.eu Git - perso/Denise/aventuriers.git/blame - makefile
Add shell.nix
[perso/Denise/aventuriers.git] / makefile
CommitLineData
02603125 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
87a91be8 2
d5828ba3
DL
3COMMANDE_TZ=TZ='Europe/Paris'
4#COMMANDE_TZ=TZ='Australia/Adelaide'
97b1e638 5
9ddfbb74
DT
6all: aventuriers.pdf
7
5a531aea 8tout: aventuriers.pdf html kindle epub
9ddfbb74 9
79e3515e 10html: html/aventuriers.html
97b1e638 11
da7bebdb
D
12kindle: aventuriers.mobi
13
3bf9b13f
DL
14epub: aventuriers.epub
15
2f3670f7 16image: symbole.png
e019f8b3 17
da7bebdb 18aventuriers.mobi: html/aventuriers.html
805237ef 19 nice -19 ebook-convert html/aventuriers.html aventuriers.mobi
accf5a0a 20
3bf9b13f
DL
21aventuriers.epub: html/aventuriers.html
22 nice -19 ebook-convert html/aventuriers.html aventuriers.epub
23
97b1e638 24aventuriers.pdf: $(LISTEFICHIERS)
a4fd6c80 25 pdflatex aventuriers.tex
d5828ba3 26 $(COMMANDE_TZ) pdflatex aventuriers.tex
97b1e638 27
accf5a0a 28
8fd56f59 29html/aventuriers.html: $(LISTEFICHIERS)
e019f8b3 30 mkdir -p html
d5828ba3 31 $(COMMANDE_TZ) nice -19 htlatex aventuriers.tex "xhtml,charset=utf-8" " -cmozhtf -utf8" -dhtml/ -interaction=nonstopmode
e019f8b3 32# ln -sf aventuriers.html index.html
8fd56f59 33
2f3670f7 34symbole.png: symbole.svg
e019f8b3
DL
35 mkdir -p html
36# inkscape -w 75 symbole.svg --export-filename html/symbole.png
8fd56f59 37 inkscape -D -z --file=symbole.svg --export-png=symbole.png --export-width=75
2f3670f7 38 ebb -x symbole.png
e8a8bc20
DL
39
40encyclo: encyclo.pdf
41
42encyclo.pdf: encyclo.tex noms.tex
43 pdflatex encyclo.tex
44 pdflatex encyclo.tex