Doc : add export EPUB method

This commit is contained in:
Benjamin Renard 2014-08-13 02:19:51 +02:00
parent 6d5b2b7455
commit 242f130708
4 changed files with 26 additions and 2 deletions

View file

@ -1,6 +1,6 @@
DOCBOOK_FILE=../LdapSaisie.docbook DOCBOOK_FILE=../LdapSaisie.docbook
all: html pdf all: html pdf epub
# HTML # HTML
html: html/LdapSaisie.html html: html/LdapSaisie.html
@ -20,4 +20,13 @@ pdf/LdapSaisie.pdf:
clean_pdf: clean_pdf:
cd pdf; make clean cd pdf; make clean
clean: clean_html clean_pdf # EPUB
epub: epub/LdapSaisie.epub
epub/LdapSaisie.epub:
cd epub; make epub
clean_epub:
cd epub; make clean
clean: clean_html clean_pdf clean_epub

1
doc/exports/epub/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
*.epub

13
doc/exports/epub/Makefile Normal file
View file

@ -0,0 +1,13 @@
DOCBOOK_FILE=../../LdapSaisie.docbook
DBTOEPUB=dbtoepub
EPUB_FILE=LdapSaisie.epub
all: epub
epub: $(EPUB_FILE)
LdapSaisie.epub: $(DOCBOOK_FILE)
$(DBTOEPUB) -o $(EPUB_FILE) "$(DOCBOOK_FILE)"
clean:
rm -f $(EPUB_FILE)

View file

@ -25,6 +25,7 @@
<listitem><simpara>la feuille de style <literal>html</literal> XSL de Norman Walsh pour <application>Docbook</application> (fichier <literal>/usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl</literal> fournis par le paquet <application>docbook-xsl</application> dans <application>Debian</application>)</simpara></listitem> <listitem><simpara>la feuille de style <literal>html</literal> XSL de Norman Walsh pour <application>Docbook</application> (fichier <literal>/usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl</literal> fournis par le paquet <application>docbook-xsl</application> dans <application>Debian</application>)</simpara></listitem>
<listitem><simpara><application>xmllint</application> (validation XML) (paquet <application>libxml2-utils</application> dans <application>Debian</application>)</simpara></listitem> <listitem><simpara><application>xmllint</application> (validation XML) (paquet <application>libxml2-utils</application> dans <application>Debian</application>)</simpara></listitem>
<listitem><simpara><application>jw</application> (exportation PDF) (paquet <application>docbook-utils</application> dans <application>Debian</application>)</simpara></listitem> <listitem><simpara><application>jw</application> (exportation PDF) (paquet <application>docbook-utils</application> dans <application>Debian</application>)</simpara></listitem>
<listitem><simpara><application>dbtoepub</application> (exportation EPUB) (paquet <application>dbtoepub</application> dans <application>Debian</application>)</simpara></listitem>
</itemizedlist> </itemizedlist>
</para></note> </para></note>
</sect1> </sect1>