gnucash-docs maint: Multiple changes pushed

Geert Janssens gjanssens at
Mon Sep 2 13:12:22 EDT 2019

Updated	 via (commit)
	 via (commit)
	 via (commit)
	 via (commit)
	 via (commit)
	 via (commit)
	 via (commit)
	 via (commit)
	 via (commit)
	 via (commit)
	 via (commit)
	from (commit)

commit 47060825af19dd5535b9bfe6516c9bf3926f3d9f
Author: Geert Janssens <geert at>
Date:   Mon Sep 2 19:12:00 2019 +0200

    CMake - Make note of missing Windows chm build rules

commit 0d88fdf9f768150c707c2b99dbbd3f00087a9e36
Author: Geert Janssens <geert at>
Date:   Mon Sep 2 18:38:12 2019 +0200

    CMake - add dist and distcheck targets
    On a tree for which both configure and cmake have been run, dist will
    generate identical tarballs under autotools and cmake, with the exception
    of two empty directories.
    I haven't tested yet on a clean checkout with only cmake for comparison.
    It's likely that will fail because cmake doesn't know how to generate
    the many autotools config related files. To be investigated further.

commit ed3eebd2729472c1aaaca46d67157bc4ed9ee3a7
Author: Geert Janssens <geert at>
Date:   Mon Sep 2 16:20:34 2019 +0200

    paper format fixup

commit 1b45ae373e100f475c3ab6b7addb450f433339f6
Author: Geert Janssens <geert at>
Date:   Mon Sep 2 14:47:58 2019 +0200

    CMake - factor out common calls to reduce code duplication

commit 99787d0f6afdedbc4fe5f1b1f75b00d58861eff9
Author: Geert Janssens <geert at>
Date:   Mon Sep 2 14:29:29 2019 +0200

    cmake pdf - determine papersize on source directory instead of environment
    Only C (en_US) uses letter format all others use A4.
    If in the future languages are added that also require letter format,
    the regex can be easily be updated

commit 51ebd3100d520605c7d9c0f981458a930d00fc02
Author: Geert Janssens <geert at>
Date:   Mon Sep 2 14:21:36 2019 +0200

    Add epub and mobi support to cmake build system

commit 87905666e7ee270aaea077bb7ae74eff570db68d
Author: Geert Janssens <geert at>
Date:   Mon Sep 2 13:06:36 2019 +0200

    Add a note about the cmake build system

commit 40e4b170e81784660ef8917a21f7945d07b506a4
Author: Geert Janssens <geert at>
Date:   Mon Sep 2 12:59:30 2019 +0200

    Add pdf targets to CMake build system
    This comes with a few additional changes
    - Japanese font selection logic is reduced to a minimum. That is,
      one can pass fonts and a font directory on the cmake command line
      with the appropriate -D flags, but none of these are checked for
      correctness. I thought of porting the autotools rules for this
      but looking closer they are totally broken. If really needed
      an improved variation could be written later in cmake.
    - Every fop run now requires a fop config file (fop.xconf) in cmake.
      This allows fop to find our figures in the source tree instead
      eliminates the need for a link or copy of these figures in the
      build tree. The existing config files for Russian and Japanese
      are amended for this.
    - All settings that just mimic the defaults have been removed from
      the Japanese fop config file.
    In addition the target structure has been slightly re-arranged.
    There are a few global targets like html, check, pdf, xml.
    Each of these will depend on the equivalent targets per document.
    For example: the global html target depends on gnucash-guide-html
    and gnucash-help-html.
    Each of these in turn then depend on the equivalent targets per
    language. For example gnucash-help-html in turn depends on
    C-gnucash-help-html, it-gnucash-help-html and so on.
    This allows to make all documents in one go or only one document
    in all supported languages or only one single document.

commit 25d3eff242968960d9a354db4c1fcd8717115e09
Author: Geert Janssens <geert at>
Date:   Mon Sep 2 09:49:05 2019 +0200

    Drop scrollkeeper/omf related bits from cmake build system
    Those were only used by yelp until version 2.23. All distros we care
    about have at least yelp 2.28 or 3.x.

commit 3c2ff3277af861c184937ef66da29289cd83d297
Author: Geert Janssens <geert at>
Date:   Sat Aug 31 18:14:35 2019 +0200

    Provide rules to build xml and html versions of our docs
    Note xml doesn't really require a build rule, only an install rule.

commit 2a03b4c395da62f136ea2d429968204514d1b3b8
Author: Geert Janssens <geert at>
Date:   Sat Aug 31 14:34:01 2019 +0200

    Setup basic structure for cmake based build system
    This initial commit only creates the necessary CMakeLists.txt files
    and sets a number of cmake variables in each.
    Further commits will gradually add targets and build rules to match
    the autotools based build system.

Summary of changes:
 CMakeLists.txt              | 198 +++++++++++++++++++++++
 CMakeNotes.txt              |  53 ++++++                 |  14 +-
 cmake/MakeDist.cmake        |  61 +++++++
 cmake/MakeDistCheck.cmake   |  82 ++++++++++
 cmake/dist.cmake            |  21 +++
 cmake/epub.cmake            |  42 +++++
 cmake/gnc_doc_targets.cmake |  33 ++++
 cmake/pdf.cmake             |  39 +++++
 cmake/xmldocs.cmake         | 108 +++++++++++++                |   4 +                |  12 ++
 guide/C/CMakeLists.txt      |  30 ++++
 guide/CMakeLists.txt        |  37 +++++
 guide/           |   2 +
 guide/de/CMakeLists.txt     |  31 ++++
 guide/it/CMakeLists.txt     |  38 +++++
 guide/it/        |   2 +-
 guide/ja/CMakeLists.txt     |  37 +++++
 guide/ja/       | 387 +-------------------------------------------
 guide/pt/CMakeLists.txt     |  29 ++++
 guide/ru/CMakeLists.txt     |  39 +++++
 guide/ru/       |  12 +-
 help/C/CMakeLists.txt       |  19 +++
 help/CMakeLists.txt         |  35 ++++
 help/            |   2 +
 help/de/CMakeLists.txt      |  11 ++
 help/it/CMakeLists.txt      |  31 ++++
 help/it/         |   2 +-
 help/pt/CMakeLists.txt      |  19 +++
 help/pt/         |   3 +
 xmldocs.make                |   2 +-
 32 files changed, 1037 insertions(+), 398 deletions(-)
 create mode 100644 CMakeLists.txt
 create mode 100644 CMakeNotes.txt
 create mode 100644 cmake/MakeDist.cmake
 create mode 100644 cmake/MakeDistCheck.cmake
 create mode 100644 cmake/dist.cmake
 create mode 100644 cmake/epub.cmake
 create mode 100644 cmake/gnc_doc_targets.cmake
 create mode 100644 cmake/pdf.cmake
 create mode 100644 cmake/xmldocs.cmake
 create mode 100644
 create mode 100644 guide/C/CMakeLists.txt
 create mode 100644 guide/CMakeLists.txt
 create mode 100644 guide/de/CMakeLists.txt
 create mode 100644 guide/it/CMakeLists.txt
 create mode 100644 guide/ja/CMakeLists.txt
 create mode 100644 guide/pt/CMakeLists.txt
 create mode 100644 guide/ru/CMakeLists.txt
 create mode 100644 help/C/CMakeLists.txt
 create mode 100644 help/CMakeLists.txt
 create mode 100644 help/de/CMakeLists.txt
 create mode 100644 help/it/CMakeLists.txt
 create mode 100644 help/pt/CMakeLists.txt

More information about the gnucash-patches mailing list