[PATCH 2/2] Implemented mobi generation target.

SASAKI Suguru sss.sonik at gmail.com
Sun Jul 17 02:53:46 EDT 2011


You can execute 'make mobi' in root to get all mobi files generated,
or in each subdirectory to get a specific mobi file.

Note: mobi files are generated from epub files,
    and mobi target depends on epub target,
    so when you generated mobi files, youi'll get epub files as well.

* README:

    Add notes on mobi gneration.

* configure.in:

    - Add --with-mobi option.
      Default is as not specified.
    - Check whether we have ebook-convert (in Calibre) in our PATH if 
--with-mobi specified.
      If we don't have one, ./configure will fail.

* Makefile.am:

    Add mobi and mobi-recursive target.
    These will appear in generated Makefile when configured with 
--with-mobi.

* mobi.make: (NEW)

    Define mobi generation related targets.

* guide/Makefile.am, help/Makefile.am:

    Add mobi target, which recursively execute mobi target in each 
subdirectroy.

* guide/C/Makefile.am, guide/de_DE/Makefile.am,
    guide/it_IT/Makefile.am, guide/ja_JP/Makefile.am,
    help/C/Makefile.am, help/de_DE/Makefile.am,
    help/it_IT/Makefile.am:

    Include $(top_srcdir)/epub.make for mobi target.

Signed-off-by: SASAKI Suguru <sasaki at sonik.org>
---
   Makefile.am             |    9 +++++++--
   README                  |   26 +++++++++++++++++++++-----
   configure.in            |   17 +++++++++++++++++
   guide/C/Makefile.am     |    3 +++
   guide/Makefile.am       |    6 +++++-
   guide/de_DE/Makefile.am |    3 +++
   guide/it_IT/Makefile.am |    3 +++
   guide/ja_JP/Makefile.am |    3 +++
   help/C/Makefile.am      |    3 +++
   help/Makefile.am        |    6 +++++-
   help/de_DE/Makefile.am  |    3 +++
   help/it_IT/Makefile.am  |    3 +++
   mobi.make               |   13 +++++++++++++
   13 files changed, 89 insertions(+), 9 deletions(-)
   create mode 100644 mobi.make

-- 
SASAKI Suguru
    mailto:sss.sonik at gmail.com
    mailto:sasaki at sonik.org

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-Implemented-mobi-generation-target.patch
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20110717/04e4f60d/attachment.ksh>


More information about the gnucash-devel mailing list