-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=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
-all: aventuriers.pdf aventuriers.html
+all: aventuriers.pdf
+
+tout: aventuriers.pdf aventuriers.html aventuriers.mobi
+
+html: aventuriers.html
+
+kindle: aventuriers.mobi
+
+aventuriers.mobi: html/aventuriers.html
+ ebook-convert html/aventuriers.html aventuriers.mobi
aventuriers.pdf: $(LISTEFICHIERS)
pdflatex aventuriers.tex
+
aventuriers.html: $(LISTEFICHIERS)
htlatex aventuriers.tex '' '' -dhtml/ -interaction=nonstopmode
- ln -s aventuriers.html html/index.html
+ ln -sf aventuriers.html html/index.html
-update: aventuriers.pdf aventuriers.html $(LISTEFICHIERS) makefile
- scp aventuriers.pdf positon:public_html/idee_2.pdf
+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/
-# scp $(LISTEFICHIERS) makefile phare:bla/