X-Git-Url: https://git.immae.eu/?p=perso%2FDenise%2Faventuriers.git;a=blobdiff_plain;f=makefile;h=5c698c569fce756df9d6a24c61990524207f528c;hp=95a35b14c9fc73f5aea4eaea88fa68199ddd625d;hb=refs%2Fheads%2Fmaster;hpb=a3530ed9331cbfd7e7f036bb80df8fdda194f1ac diff --git a/makefile b/makefile index 95a35b1..07b9095 100644 --- a/makefile +++ b/makefile @@ -1,21 +1,44 @@ -LISTEFICHIERS=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 +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 aventuriers.html +tout: aventuriers.pdf html kindle epub + +html: html/aventuriers.html + +kindle: aventuriers.mobi + +epub: aventuriers.epub -html: aventuriers.html +image: symbole.png + +aventuriers.mobi: html/aventuriers.html + nice -19 ebook-convert html/aventuriers.html aventuriers.mobi + +aventuriers.epub: html/aventuriers.html + nice -19 ebook-convert html/aventuriers.html aventuriers.epub aventuriers.pdf: $(LISTEFICHIERS) pdflatex aventuriers.tex + $(COMMANDE_TZ) pdflatex aventuriers.tex + + +html/aventuriers.html: $(LISTEFICHIERS) + mkdir -p html + $(COMMANDE_TZ) nice -19 htlatex aventuriers.tex "xhtml,charset=utf-8" " -cmozhtf -utf8" -dhtml/ -interaction=nonstopmode +# ln -sf aventuriers.html index.html -aventuriers.html: $(LISTEFICHIERS) - htlatex aventuriers.tex '' '' -dhtml/ -interaction=nonstopmode - ln -sf aventuriers.html html/index.html +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 -update: aventuriers.pdf aventuriers.html $(LISTEFICHIERS) makefile -# scp aventuriers.pdf positon:public_html/idee_2.pdf - scp aventuriers.pdf positon:public_html/aventuriers/ - scp -r html/* positon:public_html/aventuriers/ -# scp $(LISTEFICHIERS) makefile phare:bla/ +encyclo.pdf: encyclo.tex noms.tex + pdflatex encyclo.tex + pdflatex encyclo.tex