]> git.immae.eu Git - perso/Denise/aventuriers.git/blobdiff - makefile
quelques notes dans l'encyclopédie
[perso/Denise/aventuriers.git] / makefile
index 185e3490aae44b27a1d7d86ff1e547ddfdc06ca2..ce3709cdedef6a7207c7652ca0b85bfcf3ede789 100644 (file)
--- a/makefile
+++ b/makefile
@@ -3,28 +3,37 @@ LISTEFICHIERS=symbole.png aventuriers.tex arc_5RCDA.tex arc_6_CI.tex arc_3RC.tex
 
 all: aventuriers.pdf
 
-tout: aventuriers.pdf html kindle
+tout: aventuriers.pdf html kindle epub
 
 html: html/aventuriers.html
 
 kindle: aventuriers.mobi
 
+epub: aventuriers.epub
+
+image: symbole.png
+
 aventuriers.mobi: html/aventuriers.html
        nice -19 ebook-convert html/aventuriers.html aventuriers.mobi
 
+aventuriers.epub: html/aventuriers.html
+       nice -19 ebook-convert html/aventuriers.html aventuriers.epub
+
 aventuriers.pdf: $(LISTEFICHIERS)
        pdflatex aventuriers.tex
        pdflatex aventuriers.tex
 
 
-
-
 html/aventuriers.html: $(LISTEFICHIERS)
-#      mkdir -p html
-       nice -19 htlatex aventuriers.tex "xhtml,charset=utf-8" " -cmozhtf -utf8" "" -interaction=nonstopmode
+       mkdir -p html
+       nice -19 htlatex aventuriers.tex "xhtml,charset=utf-8" " -cmozhtf -utf8" -dhtml/ -interaction=nonstopmode
+#      ln -sf aventuriers.html index.html
 
 symbole.png: symbole.svg
+       mkdir -p html
+#      inkscape -w 75 symbole.svg --export-filename html/symbole.png
        inkscape -D -z --file=symbole.svg --export-png=symbole.png --export-width=75
+       ebb -x symbole.png
 
 encyclo: encyclo.pdf