]> git.immae.eu Git - perso/Denise/aventuriers.git/blobdiff - makefile
Divers + fin de l'arc JC (intro)
[perso/Denise/aventuriers.git] / makefile
index 9503502202afc668f0ea7da341e8ddb65bd02780..95a35b14c9fc73f5aea4eaea88fa68199ddd625d 100644 (file)
--- a/makefile
+++ b/makefile
@@ -2,11 +2,20 @@ LISTEFICHIERS=aventuriers.tex arc_5RCDA.tex arc_6_CI.tex arc_3RC.tex arc_libesev
 
 all: aventuriers.pdf
 
+tout: aventuriers.pdf aventuriers.html
+
+html: aventuriers.html
+
 aventuriers.pdf: $(LISTEFICHIERS)
-        pdflatex aventuriers.tex
+       pdflatex aventuriers.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
+update: aventuriers.pdf aventuriers.html $(LISTEFICHIERS) makefile
+#      scp aventuriers.pdf positon:public_html/idee_2.pdf
+       scp aventuriers.pdf positon:public_html/aventuriers/
+       scp -r html/* positon:public_html/aventuriers/
 #      scp $(LISTEFICHIERS) makefile phare:bla/