-LISTEFICHIERS=aventuriers.tex arc_RCDA.tex arc_CI.tex arc_RC.tex arc_libeseve.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
+
all: aventuriers.pdf
+tout: aventuriers.pdf html kindle
+
+html: html/aventuriers.html
+
+kindle: aventuriers.mobi
+
+aventuriers.mobi: html/aventuriers.html
+ nice -19 ebook-convert html/aventuriers.html aventuriers.mobi
+
aventuriers.pdf: $(LISTEFICHIERS)
- pdflatex aventuriers.tex
+ pdflatex aventuriers.tex
+ pdflatex aventuriers.tex
+
+
+
+
+html/aventuriers.html: $(LISTEFICHIERS)
+# mkdir -p html
+ nice -19 htlatex aventuriers.tex "xhtml,charset=utf-8" " -cmozhtf -utf8" "" -interaction=nonstopmode
+ ln -sf aventuriers.html index.html
+symbole.png: symbole.svg
+ inkscape -D -z --file=symbole.svg --export-png=symbole.png --export-width=75
+encyclo: encyclo.pdf
-update: aventuriers.pdf $(LISTEFICHIERS) makefile
- scp aventuriers.pdf positon:public_html/idee_2.pdf
-# scp $(LISTEFICHIERS) makefile phare:bla/
+encyclo.pdf: encyclo.tex noms.tex
+ pdflatex encyclo.tex
+ pdflatex encyclo.tex