]> git.immae.eu Git - perso/Denise/aventuriers.git/blobdiff - makefile
Version html
[perso/Denise/aventuriers.git] / makefile
index 9503502202afc668f0ea7da341e8ddb65bd02780..9125a17e9eff527f495029b3f54dd8fba547cb79 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,12 +1,16 @@
 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
 
-all: aventuriers.pdf
+all: aventuriers.pdf aventuriers.html
 
 aventuriers.pdf: $(LISTEFICHIERS)
-        pdflatex aventuriers.tex
+       pdflatex aventuriers.tex
 
+aventuriers.html: $(LISTEFICHIERS)
+       htlatex aventuriers.tex '' '' -dhtml/ -interaction=nonstopmode
+       ln -s aventuriers.html html/index.html 
 
 
-update: aventuriers.pdf $(LISTEFICHIERS) makefile
+update: aventuriers.pdf aventuriers.html $(LISTEFICHIERS) makefile
        scp aventuriers.pdf positon:public_html/idee_2.pdf
+       scp -r html/* positon:public_html/aventuriers/
 #      scp $(LISTEFICHIERS) makefile phare:bla/