diff --git a/doc/exports/Makefile b/doc/exports/Makefile index 3c81608f..2ae7563f 100644 --- a/doc/exports/Makefile +++ b/doc/exports/Makefile @@ -1,6 +1,6 @@ DOCBOOK_FILE=../LdapSaisie.docbook -all: html pdf +all: html pdf epub # HTML html: html/LdapSaisie.html @@ -20,4 +20,13 @@ pdf/LdapSaisie.pdf: clean_pdf: 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 diff --git a/doc/exports/epub/.gitignore b/doc/exports/epub/.gitignore new file mode 100644 index 00000000..30174596 --- /dev/null +++ b/doc/exports/epub/.gitignore @@ -0,0 +1 @@ +*.epub diff --git a/doc/exports/epub/Makefile b/doc/exports/epub/Makefile new file mode 100644 index 00000000..2f24885d --- /dev/null +++ b/doc/exports/epub/Makefile @@ -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) diff --git a/doc/install/install.docbook b/doc/install/install.docbook index 6b60c4a1..a19d3c91 100644 --- a/doc/install/install.docbook +++ b/doc/install/install.docbook @@ -25,6 +25,7 @@ la feuille de style html XSL de Norman Walsh pour Docbook (fichier /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl fournis par le paquet docbook-xsl dans Debian) xmllint (validation XML) (paquet libxml2-utils dans Debian) jw (exportation PDF) (paquet docbook-utils dans Debian) + dbtoepub (exportation EPUB) (paquet dbtoepub dans Debian)