]> git.immae.eu Git - perso/Denise/aventuriers.git/blobdiff - makefile
modifié le makefile + passage typos dans tout
[perso/Denise/aventuriers.git] / makefile
index 505df345e3965e9b4da4d6cbfcddd38f8a8a94c5..0a7f960b19a4838b37c363e7164a1e44da1f7884 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,4 +1,4 @@
-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 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=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
 
 
 all: aventuriers.pdf
@@ -9,25 +9,27 @@ html: html/aventuriers.html
 
 kindle: aventuriers.mobi
 
+image: html/symbole.png
+
 aventuriers.mobi: html/aventuriers.html
        nice -19 ebook-convert html/aventuriers.html aventuriers.mobi
 
 aventuriers.pdf: $(LISTEFICHIERS)
        pdflatex aventuriers.tex
+       pdflatex aventuriers.tex
 
 
-html/aventuriers.html: $(LISTEFICHIERS)
-  mkdir html
-       nice -19 htlatex aventuriers.tex '' '' -dhtml/ -interaction=nonstopmode
-#      ln -sf aventuriers.html html/index.html 
 
-#updatepdf: aventuriers.pdf
-#      scp aventuriers.pdf positon:public_html/aventuriers/
 
-#update: aventuriers.pdf aventuriers.html $(LISTEFICHIERS) makefile aventuriers.mobi
-#      scp aventuriers.pdf positon:public_html/aventuriers/
-#      scp aventuriers.mobi positon:public_html/aventuriers/
-#      scp -r html/* positon:public_html/aventuriers/
+html/aventuriers.html: $(LISTEFICHIERS)
+       mkdir -p html
+       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
+       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
 
 encyclo: encyclo.pdf