Commit 243924f5 authored by Murray Cumming's avatar Murray Cumming

Add experimental generation of mobi format.

* docs/tutorial/Makefile.am: Use ebook-convert, installed by calibre.
parent f1b7b484
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.
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment