[gtkmm-documentation] Add experimental generation of mobi format.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm-documentation] Add experimental generation of mobi format.
- Date: Thu, 28 Oct 2010 13:12:33 +0000 (UTC)
commit 243924f53ced799fa9758c2f5d4af96c86132b91
Author: Murray Cumming <murrayc murrayc com>
Date: Thu Oct 28 10:14:33 2010 +0200
Add experimental generation of mobi format.
* docs/tutorial/Makefile.am: Use ebook-convert, installed by calibre.
ChangeLog | 6 ++++++
docs/tutorial/Makefile.am | 11 ++++++++++-
2 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2101a52..0bfe3b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-10-28 Murray Cumming <murrayc murrayc com>
+
+ Add experimental generation of mobi format.
+
+ * docs/tutorial/Makefile.am: Use ebook-convert, installed by calibre.
+
2010-10-27 Murray Cumming <murrayc murrayc com>
Add an experimental generation of epub format.
diff --git a/docs/tutorial/Makefile.am b/docs/tutorial/Makefile.am
index 1e017c0..82243a8 100644
--- a/docs/tutorial/Makefile.am
+++ b/docs/tutorial/Makefile.am
@@ -179,12 +179,21 @@ epub_via_xsl: $(srcdir)/C/gtkmm-tutorial.xml
$(AM_V_GEN)$(XSLTPROC) $(xslt_params) -o epub/ --xinclude --catalogs \
'$(DOCBOOK_STYLESHEET_EPUB)' $<
+# This epub/mobi generation is experimental. murrayc.
+epub: $(srcdir)/gtkmm-tutorial.epub
+
# Create an epub generation of the C locale's version of the DocBook,
# using our custom stylesheet and graphics.
# This apparently uses the XSL stylesheets that we try to use in epub_via_xsl above.
-epub: $(srcdir)/C/gtkmm-tutorial.xml
+gtkmm-tutorial.epub: $(srcdir)/C/gtkmm-tutorial.xml
dbtoepub $<
+mobi: $(srcdir)/gtkmm-tutorial.mobi
+
+# ebook-convert is provided by the calibre UI app.
+gtkmm-tutorial.mobi: $(srcdir)/gtkmm-tutorial.epub
+ ebook-convert $< gtkmm-tutorial.mobi
+
# Make sure that the documentation will always have been generated before
# executing the commands of a rule that depends on files in html/.
html/chapter-%.html html/sec-%.html: | html/index.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]