]> git.immae.eu Git - perso/Denise/aventuriers.git/blobdiff - makefile
petit détail sur le makefile (mkdir) et un peu de l'arc 12
[perso/Denise/aventuriers.git] / makefile
index 8637338c3dda619b1756f17bcaea133fab953a29..505df345e3965e9b4da4d6cbfcddd38f8a8a94c5 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,28 +1,36 @@
-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 arc_7_JCSR.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 arc_10_chateau.tex arc_11_sauvetages.tex arc_12_sauvetagesvraiment.tex
+
 
 all: aventuriers.pdf
 
-tout: aventuriers.pdf aventuriers.html aventuriers_k.pdf
+tout: aventuriers.pdf html kindle
+
+html: html/aventuriers.html
 
-html: aventuriers.html
+kindle: aventuriers.mobi
 
-kindle: aventuriers_k.pdf
+aventuriers.mobi: html/aventuriers.html
+       nice -19 ebook-convert html/aventuriers.html aventuriers.mobi
 
 aventuriers.pdf: $(LISTEFICHIERS)
        pdflatex aventuriers.tex
 
-aventuriers_k.pdf: $(LISTEFICHIERS)
-       pdflatex aventuriers_k.tex
 
+html/aventuriers.html: $(LISTEFICHIERS)
+  mkdir html
+       nice -19 htlatex aventuriers.tex '' '' -dhtml/ -interaction=nonstopmode
+#      ln -sf aventuriers.html html/index.html 
+
+#updatepdf: aventuriers.pdf
+#      scp aventuriers.pdf positon:public_html/aventuriers/
 
-aventuriers.html: $(LISTEFICHIERS)
-       htlatex aventuriers.tex '' '' -dhtml/ -interaction=nonstopmode
-       ln -sf aventuriers.html html/index.html 
+#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/
 
+encyclo: encyclo.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 aventuriers_k.pdf positon:public_html/aventuriers/
-       scp -r html/* positon:public_html/aventuriers/
-#      scp $(LISTEFICHIERS) makefile phare:bla/
+encyclo.pdf: encyclo.tex noms.tex
+       pdflatex encyclo.tex
+       pdflatex encyclo.tex