]> git.immae.eu Git - perso/Denise/aventuriers.git/blobdiff - makefile
arc 9
[perso/Denise/aventuriers.git] / makefile
index 9503502202afc668f0ea7da341e8ddb65bd02780..0368b8fdbfdeb10092a4ac1c4a3c6da34ab9c27d 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,12 +1,26 @@
-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 arc_8.tex arc_9.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
+
 
+html/aventuriers.html: $(LISTEFICHIERS)
+       nice -19 htlatex aventuriers.tex '' '' -dhtml/ -interaction=nonstopmode
+       ln -sf aventuriers.html html/index.html 
 
 
-update: aventuriers.pdf $(LISTEFICHIERS) makefile
-       scp aventuriers.pdf positon:public_html/idee_2.pdf
-#      scp $(LISTEFICHIERS) makefile phare:bla/
+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/