]> git.immae.eu Git - perso/Denise/aventuriers.git/blobdiff - makefile
Add shell.nix
[perso/Denise/aventuriers.git] / makefile
index ecd7dd7afab672652055da82df802bad598fe314..07b90955477a82cc18bc8bc4e805b5352b5cd8b3 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,9 +1,11 @@
-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
+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
 
+COMMANDE_TZ=TZ='Europe/Paris'
+#COMMANDE_TZ=TZ='Australia/Adelaide'
 
 all: aventuriers.pdf
 
-tout: aventuriers.pdf html kindle
+tout: aventuriers.pdf html kindle epub
 
 html: html/aventuriers.html
 
@@ -11,7 +13,7 @@ kindle: aventuriers.mobi
 
 epub: aventuriers.epub
 
-image: html/symbole.png
+image: symbole.png
 
 aventuriers.mobi: html/aventuriers.html
        nice -19 ebook-convert html/aventuriers.html aventuriers.mobi
@@ -21,20 +23,19 @@ aventuriers.epub: html/aventuriers.html
 
 aventuriers.pdf: $(LISTEFICHIERS)
        pdflatex aventuriers.tex
-       pdflatex aventuriers.tex
-
-
+       $(COMMANDE_TZ) pdflatex aventuriers.tex
 
 
 html/aventuriers.html: $(LISTEFICHIERS)
        mkdir -p html
-       nice -19 htlatex aventuriers.tex "xhtml,charset=utf-8" " -cmozhtf -utf8" -dhtml/ -interaction=nonstopmode
+       $(COMMANDE_TZ) nice -19 htlatex aventuriers.tex "xhtml,charset=utf-8" " -cmozhtf -utf8" -dhtml/ -interaction=nonstopmode
 #      ln -sf aventuriers.html index.html
 
-html/symbole.png: symbole.svg
+symbole.png: symbole.svg
        mkdir -p html
 #      inkscape -w 75 symbole.svg --export-filename html/symbole.png
        inkscape -D -z --file=symbole.svg --export-png=symbole.png --export-width=75
+       ebb -x symbole.png
 
 encyclo: encyclo.pdf