]> git.immae.eu Git - perso/Denise/aventuriers.git/blobdiff - makefile
version kindle
[perso/Denise/aventuriers.git] / makefile
index 694abb37fed3edad4d8acfd0147876caaad8e73e..8936123151f59d313f4ca052faefec24a04e6e3c 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,12 +1,28 @@
-LISTEFICHIERS=aventuriers.tex arc_RCDA.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 aventuriers_k.tex
 
 all: aventuriers.pdf
 
+tout: aventuriers.pdf aventuriers.html aventuriers_k.pdf
+
+html: aventuriers.html
+
+kindle: aventuriers_k.pdf
+
 aventuriers.pdf: $(LISTEFICHIERS)
-        pdflatex aventuriers.tex
+       pdflatex aventuriers.tex
+
+aventuriers_k.pdf: $(LISTEFICHIERS)
+       pdflatex aventuriers_k.tex
+
 
+aventuriers.html: $(LISTEFICHIERS)
+       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
+#      scp aventuriers.pdf positon:public_html/idee_2.pdf
+       scp aventuriers.pdf positon:public_html/aventuriers/
+       scp aventuriers_k.pdf positon:public_html/aventuriers/
+       scp -r html/* positon:public_html/aventuriers/
+#      scp $(LISTEFICHIERS) makefile phare:bla/