gnucash-docs maint: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Tue Sep 6 19:35:20 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash-docs/commit/2b4598fd (commit)
	 via  https://github.com/Gnucash/gnucash-docs/commit/475d243b (commit)
	 via  https://github.com/Gnucash/gnucash-docs/commit/0cbbd57e (commit)
	 via  https://github.com/Gnucash/gnucash-docs/commit/64e43236 (commit)
	from  https://github.com/Gnucash/gnucash-docs/commit/1ff37334 (commit)



commit 2b4598fd42c2191a8c1dc1383ed21fa4c3bae2e0
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Aug 15 19:02:44 2022 +0200

    Replace ghelp: links in the source documents themselves with help: links to refer to our new documentation locations

diff --git a/guide/C/appendixd.xml b/guide/C/appendixd.xml
index 52b7b184..7bc1360d 100644
--- a/guide/C/appendixd.xml
+++ b/guide/C/appendixd.xml
@@ -759,7 +759,7 @@ Blocking_Chars</literallayout>
                   </menuchoice>
                   for number source (transaction number or anchor-split action - see
                   <ulink type="help"
-                    url="ghelp:gnucash-help?num-action-book-option">Use
+                    url="help:gnucash-help?num-action-book-option">Use
                   Split Action Field for Number</ulink> in the Book Options section of the &app;
                   Help Manual).
                 </entry>
@@ -809,7 +809,7 @@ Blocking_Chars</literallayout>
                   </menuchoice>
                   for number source (transaction number or anchor-split action - see
                   <ulink
-                    type="help" url="ghelp:gnucash-help?num-action-book-option">
+                    type="help" url="help:gnucash-help?num-action-book-option">
                   Use Split Action Field for Number</ulink> in the Book Options section of the &app;
                   Help Manual). If number source for the book is specified as anchor-split action,
                   this field will instead print the transaction number field.
diff --git a/guide/C/ch_bus_features.xml b/guide/C/ch_bus_features.xml
index 263fa4ab..45c3ad35 100644
--- a/guide/C/ch_bus_features.xml
+++ b/guide/C/ch_bus_features.xml
@@ -1783,7 +1783,7 @@
               <guimenu>Reports</guimenu><guimenuitem>Account Report </guimenuitem>
             </menuchoice>
             . Further formatting or analysis may be done by copying and pasting the report into a
-            spreadsheet. See <ulink type="help" url="ghelp:gnucash-help?tool-find-txn">Find
+            spreadsheet. See <ulink type="help" url="help:gnucash-help?tool-find-txn">Find
             Transaction</ulink> in the &app; Help Manual.
           </para>
         </note>
diff --git a/guide/C/legal.xml b/guide/C/legal.xml
index ec40d11a..78b59e46 100644
--- a/guide/C/legal.xml
+++ b/guide/C/legal.xml
@@ -5,7 +5,7 @@
     Free Documentation License (GFDL), Version 1.1 or any later version published by the Free
     Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
     You can find a copy of the GFDL at this <ulink type="help"
-	  url="ghelp:fdl">link</ulink> or in
+	  url="help:fdl">link</ulink> or in
     the file COPYING-DOCS distributed with this manual.
   </para>
 
diff --git a/guide/de/appendixd.xml b/guide/de/appendixd.xml
index 7fca09f3..7b71bc82 100644
--- a/guide/de/appendixd.xml
+++ b/guide/de/appendixd.xml
@@ -762,7 +762,7 @@ Blocking_Chars</literallayout>
                   </menuchoice>
                   for number source (transaction number or anchor-split action - see
                   <ulink type="help"
-                    url="ghelp:gnucash-help?num-action-book-option">Use
+                    url="help:gnucash-help?num-action-book-option">Use
                   Split Action Field for Number</ulink> in the Book Options section of the &app;
                   Help Manual).
                 </entry>
@@ -812,7 +812,7 @@ Blocking_Chars</literallayout>
                   </menuchoice>
                   for number source (transaction number or anchor-split action - see
                   <ulink
-                    type="help" url="ghelp:gnucash-help?num-action-book-option">
+                    type="help" url="help:gnucash-help?num-action-book-option">
                   Use Split Action Field for Number</ulink> in the Book Options section of the &app;
                   Help Manual). If number source for the book is specified as anchor-split action,
                   this field will instead print the transaction number field.
diff --git a/guide/it/index.docbook b/guide/it/index.docbook
index a7579e0f..5f6a05e0 100644
--- a/guide/it/index.docbook
+++ b/guide/it/index.docbook
@@ -75,7 +75,7 @@
         Free Documentation License (GFDL), Version 1.1 or any later version published by the Free
         Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
         Texts. You can find a copy of the GFDL at this
-        <ulink type="help" url="ghelp:fdl">link</ulink> or in the file COPYING-DOCS distributed with
+        <ulink type="help" url="help:fdl">link</ulink> or in the file COPYING-DOCS distributed with
         this manual.
       </para>
 
@@ -16014,7 +16014,7 @@ Basic A/R and A/P Account Hierarchy:
                   <guimenu>Reports</guimenu><guimenuitem>Account Report </guimenuitem>
                 </menuchoice>
                 . Further formatting or analysis may be done by copying and pasting the report into
-                a spreadsheet. See <ulink type="help" url="ghelp:gnucash-help?tool-find-txn">Find
+                a spreadsheet. See <ulink type="help" url="help:gnucash-help?tool-find-txn">Find
                 Transaction</ulink> in the &app; Help Manual.
               </para>
             </note>
@@ -19849,7 +19849,7 @@ Blocking_Chars
                         <guimenu>File</guimenu><guimenuitem>Proprietà</guimenuitem>
                       </menuchoice>
                       for number source (transaction number or anchor-split action - see
-                      <ulink type="help" url="ghelp:gnucash-help?num-action-book-option">Use Split
+                      <ulink type="help" url="help:gnucash-help?num-action-book-option">Use Split
                       Action Field for Number</ulink> in the Book Options section of the &app; Help
                       Manual).
                     </entry>
@@ -19901,7 +19901,7 @@ Blocking_Chars
                         <guimenu>File</guimenu><guimenuitem>Proprietà</guimenuitem>
                       </menuchoice>
                       for number source (transaction number or anchor-split action - see
-                      <ulink type="help" url="ghelp:gnucash-help?num-action-book-option"> Use Split
+                      <ulink type="help" url="help:gnucash-help?num-action-book-option"> Use Split
                       Action Field for Number</ulink> in the Book Options section of the &app; Help
                       Manual). If number source for the book is specified as anchor-split action,
                       this field will instead print the transaction number field.
diff --git a/guide/it/it.po b/guide/it/it.po
index 0a277831..4f46fe5b 100644
--- a/guide/it/it.po
+++ b/guide/it/it.po
@@ -1536,14 +1536,14 @@ msgid ""
 "the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any "
 "later version published by the Free Software Foundation with no Invariant "
 "Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy "
-"of the GFDL at this <ulink type=\"help\" url=\"ghelp:fdl\">link</ulink> or "
+"of the GFDL at this <ulink type=\"help\" url=\"help:fdl\">link</ulink> or "
 "in the file COPYING-DOCS distributed with this manual."
 msgstr ""
 "Permission is granted to copy, distribute and/or modify this document under "
 "the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any "
 "later version published by the Free Software Foundation with no Invariant "
 "Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy "
-"of the GFDL at this <ulink type=\"help\" url=\"ghelp:fdl\">link</ulink> or "
+"of the GFDL at this <ulink type=\"help\" url=\"help:fdl\">link</ulink> or "
 "in the file COPYING-DOCS distributed with this manual."
 
 #: C/gnucash-guide.xml:12(para)
diff --git a/guide/ja/appendixd.xml b/guide/ja/appendixd.xml
index 8470ed16..516d0b75 100644
--- a/guide/ja/appendixd.xml
+++ b/guide/ja/appendixd.xml
@@ -764,7 +764,7 @@ Blocking_Chars</literallayout>
                   </menuchoice>
                   for number source (transaction number or anchor-split action - see
                   <ulink type="help"
-                    url="ghelp:gnucash-help?num-action-book-option">Use
+                    url="help:gnucash-help?num-action-book-option">Use
                   Split Action Field for Number</ulink> in the Book Options section of the &app;
                   Help Manual).
                 </entry>
@@ -814,7 +814,7 @@ Blocking_Chars</literallayout>
                   </menuchoice>
                   for number source (transaction number or anchor-split action - see
                   <ulink
-                    type="help" url="ghelp:gnucash-help?num-action-book-option">
+                    type="help" url="help:gnucash-help?num-action-book-option">
                   Use Split Action Field for Number</ulink> in the Book Options section of the &app;
                   Help Manual). If number source for the book is specified as anchor-split action,
                   this field will instead print the transaction number field.
diff --git a/guide/ja/legal.xml b/guide/ja/legal.xml
index 2bdc7153..1632dec7 100644
--- a/guide/ja/legal.xml
+++ b/guide/ja/legal.xml
@@ -5,7 +5,7 @@
     Free Documentation License (GFDL), Version 1.1 or any later version published by the Free
     Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
     You can find a copy of the GFDL at this <ulink type="help"
-	  url="ghelp:fdl">link</ulink> or in
+	  url="help:fdl">link</ulink> or in
     the file COPYING-DOCS distributed with this manual.
   </para>
 
diff --git a/guide/pt/appendixd.xml b/guide/pt/appendixd.xml
index 2cea33f5..4a4bcc87 100644
--- a/guide/pt/appendixd.xml
+++ b/guide/pt/appendixd.xml
@@ -766,7 +766,7 @@ Blocking_Chars</literallayout>
                   </menuchoice>
                   for number source (transaction number or anchor-split action - see
                   <ulink type="help"
-                    url="ghelp:gnucash-help?num-action-book-option">Use
+                    url="help:gnucash-help?num-action-book-option">Use
                   Split Action Field for Number</ulink> in the Book Options section of the &app;
                   Help Manual).
                 </entry>
@@ -816,7 +816,7 @@ Blocking_Chars</literallayout>
                   </menuchoice>
                   for number source (transaction number or anchor-split action - see
                   <ulink
-                    type="help" url="ghelp:gnucash-help?num-action-book-option">
+                    type="help" url="help:gnucash-help?num-action-book-option">
                   Use Split Action Field for Number</ulink> in the Book Options section of the &app;
                   Help Manual). If number source for the book is specified as anchor-split action,
                   this field will instead print the transaction number field.
diff --git a/guide/pt/legal.xml b/guide/pt/legal.xml
index 990629d3..4653f7dc 100644
--- a/guide/pt/legal.xml
+++ b/guide/pt/legal.xml
@@ -5,7 +5,7 @@
     Free Documentation License (GFDL), Version 1.1 or any later version published by the Free
     Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
     You can find a copy of the GFDL at this <ulink type="help"
-	  url="ghelp:fdl">link</ulink> or in
+	  url="help:fdl">link</ulink> or in
     the file COPYING-DOCS distributed with this manual.
   </para>
 
diff --git a/guide/ru/appendixd.xml b/guide/ru/appendixd.xml
index abe3e29b..593b8b6b 100644
--- a/guide/ru/appendixd.xml
+++ b/guide/ru/appendixd.xml
@@ -759,7 +759,7 @@ Blocking_Chars</literallayout>
                   </menuchoice>
                   for number source (transaction number or anchor-split action - see
                   <ulink type="help"
-                    url="ghelp:gnucash-help?num-action-book-option">Use
+                    url="help:gnucash-help?num-action-book-option">Use
                   Split Action Field for Number</ulink> in the Book Options section of the &app;
                   Help Manual).
                 </entry>
@@ -809,7 +809,7 @@ Blocking_Chars</literallayout>
                   </menuchoice>
                   for number source (transaction number or anchor-split action - see
                   <ulink
-                    type="help" url="ghelp:gnucash-help?num-action-book-option">
+                    type="help" url="help:gnucash-help?num-action-book-option">
                   Use Split Action Field for Number</ulink> in the Book Options section of the &app;
                   Help Manual). If number source for the book is specified as anchor-split action,
                   this field will instead print the transaction number field.
diff --git a/guide/ru/ch_bus_features.xml b/guide/ru/ch_bus_features.xml
index 6d419062..89f89ec8 100644
--- a/guide/ru/ch_bus_features.xml
+++ b/guide/ru/ch_bus_features.xml
@@ -1783,7 +1783,7 @@
               <guimenu>Reports</guimenu><guimenuitem>Account Report </guimenuitem>
             </menuchoice>
             . Further formatting or analysis may be done by copying and pasting the report into a
-            spreadsheet. See <ulink type="help" url="ghelp:gnucash-help?tool-find-txn">Find
+            spreadsheet. See <ulink type="help" url="help:gnucash-help?tool-find-txn">Find
             Transaction</ulink> in the &app; Help Manual.
           </para>
         </note>
diff --git a/guide/ru/legal.xml b/guide/ru/legal.xml
index 6d8cdf31..6ed8d1d3 100644
--- a/guide/ru/legal.xml
+++ b/guide/ru/legal.xml
@@ -5,7 +5,7 @@
     Free Documentation License (GFDL), Version 1.1 or any later version published by the Free
     Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
     You can find a copy of the GFDL at this <ulink type="help"
-	  url="ghelp:fdl">link</ulink> or in
+	  url="help:fdl">link</ulink> or in
     the file COPYING-DOCS distributed with this manual.
   </para>
 
diff --git a/manual/C/legal.xml b/manual/C/legal.xml
index 84cd6a6d..8e8bc418 100644
--- a/manual/C/legal.xml
+++ b/manual/C/legal.xml
@@ -5,7 +5,7 @@
     Free Documentation License (GFDL), Version 1.1 or any later version published by the Free
     Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
     You can find a copy of the GFDL at this <ulink type="help"
-	  url="ghelp:fdl">link</ulink> or in
+	  url="help:fdl">link</ulink> or in
     the file COPYING-DOCS distributed with this manual.
   </para>
 
diff --git a/manual/de/legal.xml b/manual/de/legal.xml
index cafba49f..596693f6 100644
--- a/manual/de/legal.xml
+++ b/manual/de/legal.xml
@@ -5,7 +5,7 @@
     Version 1.1 oder jeder späteren, von der Free Software Foundation veröffentlichten Version
     ohne unveränderbare Abschnitte sowie ohne Texte auf dem vorderen und hinteren Buchdeckel
     kopiert, verteilt und/oder modifiziert werden. Eine Kopie der GFDL finden Sie unter diesem
-    <ulink type="help" url="ghelp:fdl">Link</ulink> oder in der mit diesem Handbuch gelieferten
+    <ulink type="help" url="help:fdl">Link</ulink> oder in der mit diesem Handbuch gelieferten
     Datei COPYING-DOCs.
   </para>
 
diff --git a/manual/it/index.docbook b/manual/it/index.docbook
index 8c22e7a0..afa7032c 100644
--- a/manual/it/index.docbook
+++ b/manual/it/index.docbook
@@ -50,7 +50,7 @@
         Free Documentation License (GFDL), Version 1.1 or any later version published by the Free
         Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
         Texts. You can find a copy of the GFDL at this
-        <ulink type="help" url="ghelp:fdl">link</ulink> or in the file COPYING-DOCS distributed with
+        <ulink type="help" url="help:fdl">link</ulink> or in the file COPYING-DOCS distributed with
         this manual.
       </para>
 
diff --git a/manual/it/it.po b/manual/it/it.po
index 58986b4e..66dbd4e8 100644
--- a/manual/it/it.po
+++ b/manual/it/it.po
@@ -147,8 +147,8 @@ msgid "GnuCash Documentation Team"
 msgstr "Gruppo della documentazione di &appname;"
 
 #: C/gnucash-help.xml:2(para)
-msgid "Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy of the GFDL at this <ulink type=\"help\" url=\"ghelp:fdl\">link</ulink> or in the file COPYING-DOCS distributed with this manual."
-msgstr "Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy of the GFDL at this <ulink type=\"help\" url=\"ghelp:fdl\">link</ulink> or in the file COPYING-DOCS distributed with this manual."
+msgid "Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy of the GFDL at this <ulink type=\"help\" url=\"help:fdl\">link</ulink> or in the file COPYING-DOCS distributed with this manual."
+msgstr "Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy of the GFDL at this <ulink type=\"help\" url=\"help:fdl\">link</ulink> or in the file COPYING-DOCS distributed with this manual."
 
 #: C/gnucash-help.xml:12(para)
 msgid "This manual is part of a collection of GNOME manuals distributed under the GFDL. If you want to distribute this manual separately from the collection, you can do so by adding a copy of the license to the manual, as described in section 6 of the license."
diff --git a/manual/pt/legal.xml b/manual/pt/legal.xml
index eb1f04ff..471cbdf0 100644
--- a/manual/pt/legal.xml
+++ b/manual/pt/legal.xml
@@ -5,7 +5,7 @@
     Free Documentation License (GFDL), Version 1.1 or any later version published by the Free
     Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
     You can find a copy of the GFDL at this <ulink type="help"
-	  url="ghelp:fdl">link</ulink> or in
+	  url="help:fdl">link</ulink> or in
     the file COPYING-DOCS distributed with this manual.
   </para>
 

commit 475d243b4f1f113cb47f14911adf3d35f17154d8
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Aug 15 18:57:40 2022 +0200

    Rename all GHelp related parameters and variables to XdgHelp

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ff74c717..a2a88fba 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,13 +39,13 @@ unset(dist_files CACHE)
 # On any other platform chm and mobi are disabled by default
 
 if(NOT WIN32)
-    option (WITH_GHELP "Enable build rules for gnome help document format" ON)
+    option (WITH_XDGHELP "Enable build rules for gnome help document format" ON)
     option (WITH_HTML "Enable build rules for html document format" ON)
     option (WITH_PDF "Enable build rules for pdf document format" ON)
     option (WITH_EPUB "Enable build rules for epub document format" ON)
     option (WITH_CHM "Enable build rules for chm document format" OFF)
 else()
-    option (WITH_GHELP "Enable build rules for gnome help document format" OFF)
+    option (WITH_XDGHELP "Enable build rules for gnome help document format" OFF)
     option (WITH_HTML "Enable build rules for html document format" OFF)
     option (WITH_PDF "Enable build rules for pdf document format" OFF)
     option (WITH_EPUB "Enable build rules for epub document format" OFF)
@@ -150,11 +150,11 @@ add_custom_target(check)
 if (WITH_HTML)
     add_custom_target(html)
 endif()
-if (WITH_GHELP)
+if (WITH_XDGHELP)
   if (UNIX AND NOT APPLE)
-    add_custom_target(ghelp ALL)
+    add_custom_target(xdghelp ALL)
   else(UNIX AND NOT APPLE)
-    add_custom_target(ghelp)
+    add_custom_target(xdghelp)
   endif()
 endif()
 if (WITH_PDF)
diff --git a/cmake/AddGncDocTargets.cmake b/cmake/AddGncDocTargets.cmake
index 819e6465..b9723ff5 100644
--- a/cmake/AddGncDocTargets.cmake
+++ b/cmake/AddGncDocTargets.cmake
@@ -28,8 +28,8 @@ function (add_gnc_doc_targets docname entities figures)
     if (WITH_CHM)
       add_chm_target(${docname} ${lang} "${entities}" "${figures}")
     endif()
-    if (WITH_GHELP)
-      add_ghelp_target(${docname} ${lang} "${entities}" "${figures}")
+    if (WITH_XDGHELP)
+      add_xdghelp_target(${docname} ${lang} "${entities}" "${figures}")
     endif()
     if (WITH_HTML)
       add_html_target(${docname} ${lang} "${entities}" "${figures}")
diff --git a/cmake/AddXdgHelpTarget.cmake b/cmake/AddXdgHelpTarget.cmake
index e61c86e4..ad155da6 100644
--- a/cmake/AddXdgHelpTarget.cmake
+++ b/cmake/AddXdgHelpTarget.cmake
@@ -8,7 +8,7 @@
 # - entities: list of all xml files this document is composed of
 # - figdir: name of the directory holding the images
 
-function (add_ghelp_target docname lang entities figures)
+function (add_xdghelp_target docname lang entities figures)
 
     set(BUILD_DIR "${DATADIR_BUILD}/help/${lang}/${docname}")
 
@@ -30,10 +30,10 @@ function (add_ghelp_target docname lang entities figures)
     endforeach()
 
     add_custom_command(
-      OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/ghelptrigger"
+      OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/xdghelptrigger"
       COMMAND ${CMAKE_COMMAND} -E make_directory "${BUILD_DIR}"
       COMMAND ${CMAKE_COMMAND} -E make_directory "${BUILD_DIR}/figures"
-      COMMAND touch "${CMAKE_CURRENT_BINARY_DIR}/ghelptrigger")
+      COMMAND touch "${CMAKE_CURRENT_BINARY_DIR}/xdghelptrigger")
 
 
     add_custom_command(
@@ -43,33 +43,23 @@ function (add_ghelp_target docname lang entities figures)
         WORKING_DIRECTORY "${BUILD_DIR}")
 
     # Copy figures for this document
-    set(source_figures "")
-    foreach(figure ${figures})
-        list(APPEND source_figures "${CMAKE_CURRENT_SOURCE_DIR}/${figure}")
-    endforeach()
-
-    set(dest_figures "")
-    foreach(figure ${figures})
-        list(APPEND dest_figures "${BUILD_DIR}/${figure}")
-    endforeach()
-
-    if(dest_figures)
-        add_custom_command(
-            OUTPUT ${dest_figures}
-            COMMAND ${CMAKE_COMMAND} -E copy ${source_figures} "${BUILD_DIR}/figures"
-            DEPENDS ${source_figures} "${CMAKE_CURRENT_BINARY_DIR}/ghelptrigger")
-    endif()
+    add_custom_command(
+        OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/xdghelp_figtrigger"
+        COMMAND ${CMAKE_COMMAND} -E copy ${figures} "${BUILD_DIR}/figures"
+        COMMAND touch "${CMAKE_CURRENT_BINARY_DIR}/xdghelp_figtrigger"
+        DEPENDS ${figures} "${CMAKE_CURRENT_BINARY_DIR}/xdghelptrigger")
 
-    add_custom_target("${lang}-${docname}-ghelp"
-        DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/ghelptrigger"
-                 ${dest_files} ${dest_figures})
+    add_custom_target("${lang}-${docname}-xdghelp"
+        DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/xdghelptrigger"
+                 ${dest_files}
+                "${CMAKE_CURRENT_BINARY_DIR}/xdghelp_figtrigger")
 
-    add_dependencies(${docname}-ghelp "${lang}-${docname}-ghelp")
+    add_dependencies(${docname}-xdghelp "${lang}-${docname}-xdghelp")
 
     install(FILES ${source_files}
         DESTINATION "${CMAKE_INSTALL_DATADIR}/help/${lang}/${docname}"
-        COMPONENT "ghelp")
+        COMPONENT "xdghelp")
     install(FILES ${figures}
         DESTINATION "${CMAKE_INSTALL_DATADIR}/help/${lang}/${docname}/figures"
-        COMPONENT "ghelp")
+        COMPONENT "xdghelp")
 endfunction()
diff --git a/guide/CMakeLists.txt b/guide/CMakeLists.txt
index 548a36f4..5afe1ae3 100644
--- a/guide/CMakeLists.txt
+++ b/guide/CMakeLists.txt
@@ -8,9 +8,9 @@ if (WITH_HTML)
     add_dependencies(html ${docname}-html)
 endif()
 
-if (WITH_GHELP)
-    add_custom_target(${docname}-ghelp)
-    add_dependencies(ghelp ${docname}-ghelp)
+if (WITH_XDGHELP)
+    add_custom_target(${docname}-xdghelp)
+    add_dependencies(xdghelp ${docname}-xdghelp)
 endif()
 
 if (WITH_PDF)
diff --git a/manual/CMakeLists.txt b/manual/CMakeLists.txt
index 74f4d8dd..748a27be 100644
--- a/manual/CMakeLists.txt
+++ b/manual/CMakeLists.txt
@@ -8,9 +8,9 @@ if (WITH_HTML)
     add_dependencies(html ${docname}-html)
 endif()
 
-if (WITH_GHELP)
-    add_custom_target(${docname}-ghelp)
-    add_dependencies(ghelp ${docname}-ghelp)
+if (WITH_XDGHELP)
+    add_custom_target(${docname}-xdghelp)
+    add_dependencies(xdghelp ${docname}-xdghelp)
 endif()
 
 if (WITH_PDF)

commit 0cbbd57e31fc7164fc2521a3ec0656de980d436d
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Aug 15 18:39:55 2022 +0200

    Rename GHelp to XdgHelp - step 1
    
    This commit only renames the file cmake/AddGHelpTarget.cmake to keep
    bisecting simple. File content changes will be done in future commits.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 95a1488f..ff74c717 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,7 +20,7 @@ set (PACKAGE_PREFIX "${PROJECT_NAME}-${gnucash-docs_VERSION}")
 set (CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake;${CMAKE_MODULE_PATH}")
 include (AddChmTarget)
 include (AddEpubTarget)
-include (AddGHelpTarget)
+include (AddXdgHelpTarget)
 include (AddHtmlTarget)
 include (AddPdfTarget)
 include (AddGncDocTargets)
diff --git a/cmake/AddGHelpTarget.cmake b/cmake/AddXdgHelpTarget.cmake
similarity index 100%
rename from cmake/AddGHelpTarget.cmake
rename to cmake/AddXdgHelpTarget.cmake

commit 64e43236874d1a9c866893bf770e6eba5e134653
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat Sep 7 13:06:00 2019 +0200

    Update ghelp target to install docs according to the xdg help specification
    
    The spec can be found here: https://www.freedesktop.org/wiki/Specifications/help-spec/
    "ghelp:" is hardly used still on linux. The new standard is well supported by yelp.
    
    What this does is
    * rename the primary documents from gnucash-guide.xml/gnucash-help.xml to index.docbook
    * update book id's for manuals to "index" (required for the spec)
    * reshuffle the target output directories from share/gnome/help/(docname)/lang to share/help/(lang)/(docname)

diff --git a/cmake/AddChmTarget.cmake b/cmake/AddChmTarget.cmake
index d6be1afb..50d1e325 100644
--- a/cmake/AddChmTarget.cmake
+++ b/cmake/AddChmTarget.cmake
@@ -20,7 +20,7 @@ function (add_chm_target docname lang entities figures)
            "-Dentities=\"${entities}\""
            -D HHC=${HHC}
            -P ${CMAKE_SOURCE_DIR}/cmake/MakeChm.cmake
-        DEPENDS ${entities} "${docname}.xml" "${CMAKE_SOURCE_DIR}/docbook/gnc-docbookx.dtd" ${figures}
+        DEPENDS ${entities} "index.docbook" "${CMAKE_SOURCE_DIR}/docbook/gnc-docbookx.dtd" ${figures}
         WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/htmlhelp")
 
     add_custom_target("${lang}-${docname}-chm"
diff --git a/cmake/AddEpubTarget.cmake b/cmake/AddEpubTarget.cmake
index 6dfcb0d4..b74f2906 100644
--- a/cmake/AddEpubTarget.cmake
+++ b/cmake/AddEpubTarget.cmake
@@ -17,11 +17,11 @@ function (add_epub_target docname lang entities figures)
                             --stringparam epub.oebps.dir OEBPS/
                             --stringparam fop1.extensions 1
                             "${CMAKE_SOURCE_DIR}/xsl/1.79.2/epub/docbook.xsl"
-                            "${CMAKE_CURRENT_SOURCE_DIR}/${docname}.xml"
+                            "${CMAKE_CURRENT_SOURCE_DIR}/index.docbook"
         COMMAND cmake -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/figures" "${EPUB_TMPDIR}/OEBPS/figures"
         COMMAND ${CMAKE_COMMAND} -E make_directory "${BUILD_DIR}"
         COMMAND cd "${EPUB_TMPDIR}" && zip -X -r "${BUILD_DIR}/${epubfile}" mimetype META-INF OEBPS
-        DEPENDS ${entities} "${docname}.xml" "${CMAKE_SOURCE_DIR}/docbook/gnc-docbookx.dtd" ${figures})
+        DEPENDS ${entities} "index.docbook" "${CMAKE_SOURCE_DIR}/docbook/gnc-docbookx.dtd" ${figures})
 
     add_custom_target("${lang}-${docname}-epub"
         DEPENDS "${BUILD_DIR}/${epubfile}")
diff --git a/cmake/AddGHelpTarget.cmake b/cmake/AddGHelpTarget.cmake
index ac2daee2..e61c86e4 100644
--- a/cmake/AddGHelpTarget.cmake
+++ b/cmake/AddGHelpTarget.cmake
@@ -10,10 +10,10 @@
 
 function (add_ghelp_target docname lang entities figures)
 
-    set(BUILD_DIR "${DATADIR_BUILD}/gnome/help/${docname}/${lang}")
+    set(BUILD_DIR "${DATADIR_BUILD}/help/${lang}/${docname}")
 
     set(source_files "")
-    foreach(xml_file ${entities} ${docname}.xml)
+    foreach(xml_file ${entities} index.docbook)
         list(APPEND source_files "${CMAKE_CURRENT_SOURCE_DIR}/${xml_file}")
     endforeach()
 
@@ -25,7 +25,7 @@ function (add_ghelp_target docname lang entities figures)
     list(APPEND source_files ${dtd_files})
 
     set(dest_files "")
-    foreach(xml_file ${entities} ${docname}.xml gnc-docbookx.dtd)
+    foreach(xml_file ${entities} index.docbook gnc-docbookx.dtd)
         list(APPEND dest_files "${BUILD_DIR}/${xml_file}")
     endforeach()
 
@@ -39,7 +39,7 @@ function (add_ghelp_target docname lang entities figures)
     add_custom_command(
         OUTPUT ${dest_files}
         COMMAND ${CMAKE_COMMAND} -E copy ${source_files} "${BUILD_DIR}"
-        DEPENDS ${entities} "${docname}.xml" ${dtd_files}
+        DEPENDS ${entities} "index.docbook" ${dtd_files}
         WORKING_DIRECTORY "${BUILD_DIR}")
 
     # Copy figures for this document
@@ -67,9 +67,9 @@ function (add_ghelp_target docname lang entities figures)
     add_dependencies(${docname}-ghelp "${lang}-${docname}-ghelp")
 
     install(FILES ${source_files}
-        DESTINATION "${CMAKE_INSTALL_DATADIR}/gnome/help/${docname}/${lang}"
+        DESTINATION "${CMAKE_INSTALL_DATADIR}/help/${lang}/${docname}"
         COMPONENT "ghelp")
     install(FILES ${figures}
-        DESTINATION "${CMAKE_INSTALL_DATADIR}/gnome/help/${docname}/${lang}/figures"
+        DESTINATION "${CMAKE_INSTALL_DATADIR}/help/${lang}/${docname}/figures"
         COMPONENT "ghelp")
 endfunction()
diff --git a/cmake/AddGncDocTargets.cmake b/cmake/AddGncDocTargets.cmake
index 5264b544..819e6465 100644
--- a/cmake/AddGncDocTargets.cmake
+++ b/cmake/AddGncDocTargets.cmake
@@ -2,22 +2,27 @@ function (add_gnc_doc_targets docname entities figures)
 
     get_filename_component(lang ${CMAKE_CURRENT_SOURCE_DIR} NAME)
 
-    # Add a target to run xml lint checks on this document's source xml files
-    add_custom_target("${lang}-${docname}-check"
-        COMMAND  ${XMLLINT} --postvalid
-                            --xinclude
-                            --noout
-                            --path ${CMAKE_SOURCE_DIR}/docbook
-                            ${CMAKE_CURRENT_SOURCE_DIR}/${docname}.xml
-        COMMAND  ${CMAKE_COMMAND}
-            -D XMLLINT=${XMLLINT}
-            -D GNC_SOURCE_DIR=${CMAKE_SOURCE_DIR}
-            -D GNC_CURRENT_SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}
-            -D docname=${docname}
-            -D cmake_fig_list="${figures}"
-            -P ${CMAKE_SOURCE_DIR}/cmake/CheckFigures.cmake
-        DEPENDS ${entities} "${docname}.xml" "${CMAKE_SOURCE_DIR}/docbook/gnc-docbookx.dtd")
-    add_dependencies(${docname}-check "${lang}-${docname}-check")
+    file(GLOB_RECURSE figures
+        "${CMAKE_CURRENT_SOURCE_DIR}/figures/*.png"
+        "${CMAKE_CURRENT_SOURCE_DIR}/figures/*.svg")
+
+    if(entities)
+        # Add a target to run xml lint checks on this document's source xml files
+        add_custom_target("${lang}-${docname}-check"
+            COMMAND  ${XMLLINT} --postvalid
+                                --xinclude
+                                --noout
+                                --path ${CMAKE_SOURCE_DIR}/docbook
+                                ${CMAKE_CURRENT_SOURCE_DIR}/index.docbook
+            COMMAND  ${CMAKE_COMMAND}
+                -D XMLLINT=${XMLLINT}
+                -D GNC_SOURCE_DIR=${CMAKE_SOURCE_DIR}
+                -D GNC_CURRENT_SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}
+                -D docname=${docname}
+                -P ${CMAKE_SOURCE_DIR}/cmake/CheckFigures.cmake
+            DEPENDS ${entities} "index.docbook" "${CMAKE_SOURCE_DIR}/docbook/gnc-docbookx.dtd")
+        add_dependencies(${docname}-check "${lang}-${docname}-check")
+    endif()
 
     # Add targets for each document format that is enabled
     if (WITH_CHM)
@@ -41,7 +46,7 @@ function (add_gnc_doc_targets docname entities figures)
 
     add_to_dist(
         CMakeLists.txt
-        ${docname}.xml
+        index.docbook
         ${entities}
         ${figures})
 
diff --git a/cmake/AddHtmlTarget.cmake b/cmake/AddHtmlTarget.cmake
index d1bedc3c..bb321d81 100644
--- a/cmake/AddHtmlTarget.cmake
+++ b/cmake/AddHtmlTarget.cmake
@@ -27,9 +27,9 @@ function (add_html_target docname lang entities figures)
                              --param use.id.as.filename "1"
                              --stringparam chunker.output.encoding UTF-8
                              "${CMAKE_SOURCE_DIR}/xsl/general-customization.xsl"
-                             "${CMAKE_CURRENT_SOURCE_DIR}/${docname}.xml"
+                             "${CMAKE_CURRENT_SOURCE_DIR}/index.docbook"
         COMMAND touch "${CMAKE_CURRENT_BINARY_DIR}/htmltrigger"
-        DEPENDS ${entities} "${docname}.xml" "${CMAKE_SOURCE_DIR}/docbook/gnc-docbookx.dtd")
+        DEPENDS ${entities} "index.docbook" "${CMAKE_SOURCE_DIR}/docbook/gnc-docbookx.dtd")
 
     # Copy figures for this document
     set(source_figures "")
diff --git a/cmake/AddPdfTarget.cmake b/cmake/AddPdfTarget.cmake
index cdb4ce6f..124ff125 100644
--- a/cmake/AddPdfTarget.cmake
+++ b/cmake/AddPdfTarget.cmake
@@ -27,8 +27,8 @@ function (add_pdf_target docname lang entities figures)
                             --stringparam variablelist.as.blocks 1
                             --stringparam glosslist.as.blocks 1
                             "${CMAKE_SOURCE_DIR}/xsl/1.79.2/fo/docbook.xsl"
-                            "${CMAKE_CURRENT_SOURCE_DIR}/${docname}.xml"
-        DEPENDS ${entities} "${docname}.xml" "${CMAKE_SOURCE_DIR}/docbook/gnc-docbookx.dtd")
+                            "${CMAKE_CURRENT_SOURCE_DIR}/index.docbook"
+        DEPENDS ${entities} "index.docbook" "${CMAKE_SOURCE_DIR}/docbook/gnc-docbookx.dtd")
 
     configure_file("${FOP_XCONF}" "${CMAKE_CURRENT_BINARY_DIR}/fop.xconf")
 
diff --git a/cmake/CheckFigures.cmake b/cmake/CheckFigures.cmake
index ac496cec..a500a7a5 100644
--- a/cmake/CheckFigures.cmake
+++ b/cmake/CheckFigures.cmake
@@ -5,7 +5,7 @@ execute_process(
                        --xinclude
                        --path ${GNC_SOURCE_DIR}/docbook
                        --xpath "//imagedata/@fileref"
-                       ${GNC_CURRENT_SOURCE_DIR}/${docname}.xml
+                       ${GNC_CURRENT_SOURCE_DIR}/index.docbook
     RESULT_VARIABLE LINT_RESULT
     OUTPUT_VARIABLE raw_xml_figures
 )
diff --git a/cmake/MakeChm.cmake b/cmake/MakeChm.cmake
index ef977f9b..e0ffe8c7 100644
--- a/cmake/MakeChm.cmake
+++ b/cmake/MakeChm.cmake
@@ -17,7 +17,7 @@ execute_process(
     COMMAND ${XSLTPROC} --path "${SRC_DIR}/docbook" --xinclude
                         --stringparam htmlhelp.chm ${chmfile}
                         "${SRC_DIR}/xsl/1.79.2/htmlhelp/htmlhelp.xsl"
-                        "${CURRENT_SRC_DIR}/${docname}.xml"
+                        "${CURRENT_SRC_DIR}/index.docbook"
     WORKING_DIRECTORY "${htmlhelpdir}")
 
 file(COPY "${CURRENT_SRC_DIR}/figures" DESTINATION "${htmlhelpdir}")
diff --git a/guide/C/gnucash-guide.xml b/guide/C/index.docbook
similarity index 100%
rename from guide/C/gnucash-guide.xml
rename to guide/C/index.docbook
diff --git a/guide/de/gnucash-guide.xml b/guide/de/index.docbook
similarity index 100%
rename from guide/de/gnucash-guide.xml
rename to guide/de/index.docbook
diff --git a/guide/it/CMakeLists.txt b/guide/it/CMakeLists.txt
index bdfed387..4e660a4f 100644
--- a/guide/it/CMakeLists.txt
+++ b/guide/it/CMakeLists.txt
@@ -1,187 +1,31 @@
-set (entities
-    ${CMAKE_SOURCE_DIR}/guide/C/fdl-appendix.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/legal.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_oview.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_basics.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_accts.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_txns.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_cbook.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_cc.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_expenses.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_loans.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_invest.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_reports.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_capgain.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_currency.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_dep.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_bus_features.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_budgets.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_oth_assets.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_python_bindings.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/ch_import_business_data.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/gnc-glossary.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/appendixa.xml
-    ${CMAKE_SOURCE_DIR}/guide/C/appendixd.xml
-)
+set (COMPONENTS
+        ${top_srcdir}/guide/C/index.docbook
+        ${top_srcdir}/guide/C/fdl-appendix.xml
+        ${top_srcdir}/guide/C/legal.xml
+        ${top_srcdir}/guide/C/ch_oview.xml
+        ${top_srcdir}/guide/C/ch_basics.xml
+        ${top_srcdir}/guide/C/ch_accts.xml
+        ${top_srcdir}/guide/C/ch_txns.xml
+        ${top_srcdir}/guide/C/ch_cbook.xml
+        ${top_srcdir}/guide/C/ch_cc.xml
+        ${top_srcdir}/guide/C/ch_expenses.xml
+        ${top_srcdir}/guide/C/ch_loans.xml
+        ${top_srcdir}/guide/C/ch_invest.xml
+        ${top_srcdir}/guide/C/ch_reports.xml
+        ${top_srcdir}/guide/C/ch_capgain.xml
+        ${top_srcdir}/guide/C/ch_currency.xml
+        ${top_srcdir}/guide/C/ch_dep.xml
+        ${top_srcdir}/guide/C/ch_bus_features.xml
+        ${top_srcdir}/guide/C/ch_budgets.xml
+        ${top_srcdir}/guide/C/ch_oth_assets.xml
+        ${top_srcdir}/guide/C/ch_python_bindings.xml
+        ${top_srcdir}/guide/C/ch_import_business_data.xml
+        ${top_srcdir}/guide/C/gnc-glossary.xml
+        ${top_srcdir}/guide/C/appendixa.xml
+        ${top_srcdir}/guide/C/appendixd.xml)
 
-set (figures
-    figures/accts_CreateAssetsAccount.png
-    figures/accts_DefaultExpenseAccounts.png
-    figures/accts_DefaultIncomeAccounts.png
-    figures/accts_toplevel.png
-    figures/accts_tree.png
-    figures/basics_AccountRelationships.png
-    figures/basics_AccountRelationships.svg
-    figures/basics_Accounts.png
-    figures/basics_CheckAccount.png
-    figures/basics_EmptyAccounts.png
-    figures/basics_NewAccountHierarchySetup.png
-    figures/basics_NewAccountHierarchySetup_Accounts.png
-    figures/basics_NewAccountHierarchySetup_Finish.png
-    figures/basics_NewAccountHierarchySetup_Setup.png
-    figures/basics_NewAccountHierarchySetup_currency.png
-    figures/basics_NewBookOpts.png
-    figures/basics_SaveSQL.png
-    figures/basics_SaveXML.png
-    figures/basics_TipOfDay.png
-    figures/bus_ap_billedit.png
-    figures/bus_ap_billnew.png
-    figures/bus_ap_billpost.png
-    figures/bus_ap_jobnew.png
-    figures/bus_ap_payment.png
-    figures/bus_ap_vendorfind.png
-    figures/bus_ap_vendornew.png
-    figures/bus_ar_custfind.png
-    figures/bus_ar_custnew.png
-    figures/bus_ar_invoicechange1.png
-    figures/bus_ar_invoicechange2.png
-    figures/bus_ar_invoicechange3.png
-    figures/bus_ar_invoiceedit.png
-    figures/bus_ar_invoicenew.png
-    figures/bus_ar_invoicepost.png
-    figures/bus_ar_invoiceprint.png
-    figures/bus_ar_jobnew.png
-    figures/bus_ar_payment.png
-    figures/bus_pay_ex1.png
-    figures/bus_pay_ex2.png
-    figures/bus_pay_ex3.png
-    figures/bus_pay_ex4.png
-    figures/capgain_app2main.png
-    figures/capgain_app3main.png
-    figures/capgain_appmain.png
-    figures/cbook_CashFlow.png
-    figures/cbook_TransactionRptAssets.png
-    figures/cbook_TransactionRptExpenses.png
-    figures/cbook_atm.png
-    figures/cbook_bankstmt.png
-    figures/cbook_chartaccts5.png
-    figures/cbook_checkexamp.png
-    figures/cbook_gcashdata4.png
-    figures/cbook_reconciledCheckAct.png
-    figures/cbook_reconexamp.png
-    figures/cbook_servch.png
-    figures/cbook_transferin.png
-    figures/cc_CashFlow.png
-    figures/cc_Reversing_Transaction_1.png
-    figures/cc_Reversing_Transaction_2.png
-    figures/cc_TransactionRptExpenses.png
-    figures/cc_TransactionRptVisa.png
-    figures/cc_accounts.png
-    figures/cc_final.png
-    figures/cc_interest.png
-    figures/cc_payment.png
-    figures/cc_purchases.png
-    figures/cc_reconcile.png
-    figures/cc_reconcile_init.png
-    figures/cc_refund.png
-    figures/currency_AfterGetOnlineQuotes.png
-    figures/currency_BeforeGetOnlineQuotes.png
-    figures/currency_addcurr.png
-    figures/currency_main1.png
-    figures/currency_main2.png
-    figures/currency_main3.png
-    figures/currency_peditor.png
-    figures/currency_purchase_AfterBoat.png
-    figures/currency_purchase_AfterStocks.png
-    figures/currency_purchase_BeforeBoat.png
-    figures/currency_purchase_BeforeStocks.png
-    figures/currency_purchase_Commodities.png
-    figures/currency_purchase_MoveMoney.png
-    figures/currency_purchase_SetExchangeRate.png
-    figures/currency_purchase_ToAmount.png
-    figures/dep_assetmain.png
-    figures/dep_assetreg.png
-    figures/dep_example.png
-    figures/invest_AccountsPredef.png
-    figures/invest_SetupPortfolio2.png
-    figures/invest_dividendcash.png
-    figures/invest_dividendreinvest1.png
-    figures/invest_int1.png
-    figures/invest_int2.png
-    figures/invest_int3.png
-    figures/invest_merge2.png
-    figures/invest_merge3.png
-    figures/invest_newaccount.png
-    figures/invest_newsecurity.png
-    figures/invest_peditor.png
-    figures/invest_peditor2.png
-    figures/invest_selectsecurity.png
-    figures/invest_sellstock.png
-    figures/invest_sellstock2.png
-    figures/invest_sellstockLoss.png
-    figures/invest_sellstockLoss2.png
-    figures/invest_setup_current.png
-    figures/invest_setup_portfolio1.png
-    figures/invest_simplesplit1.png
-    figures/invest_split1.png
-    figures/invest_split2.png
-    figures/invest_split3.png
-    figures/invest_split4.png
-    figures/invest_stockmerge1.png
-    figures/invest_stockvalue.png
-    figures/invest_stockvalue_report.png
-    figures/invest_stockvalue_report_options.png
-    figures/loans_PrivateLoanCalculation.png
-    figures/loans_PrivateLoanFirstPayment.png
-    figures/loans_PrivateLoanInitial.png
-    figures/loans_PrivateLoanSecondPayment.png
-    figures/loans_PrivateLoanSecondPaymentAccounts.png
-    figures/loans_fcalc.png
-    figures/loans_mortgage1.png
-    figures/loans_mortgage2.png
-    figures/loans_mortgage3.png
-    figures/oview_intro.png
-    figures/txns_CashFlow.png
-    figures/txns_TransactionRptChecking.png
-    figures/txns_TransactionRptExpenses.png
-    figures/txns_puttoget_Charts.png
-    figures/txns_puttoget_Charts1.png
-    figures/txns_puttoget_Charts2.png
-    figures/txns_reconcile_window1.png
-    figures/txns_reconcile_window2.png
-    figures/txns_reconcile_window3.png
-    figures/txns_register_2account.png
-    figures/txns_register_2account2.png
-    figures/txns_register_multiaccount.png
-    figures/txns_registersplit2.png
-    figures/txns_registersplit3.png
-    figures/txns_registersplit4.png
-    figures/txns_registersplit5.png
-    figures/txns_registersplit6.png
-    figures/txns_sxn_editor-2.png
-    figures/txns_sxn_editor-3-frequency.png
-    figures/txns_sxn_editor-3-overview.png
-    figures/txns_sxn_editor-3-template.png
-    figures/txns_sxn_editor-4.png
-    figures/txns_sxn_editor_slr.png
-    figures/txns_sxn_ledger1.png
-    figures/txns_sxn_ledger2.png
-    figures/txns_sxn_ledger3.png
-    figures/txns_sxn_ledger4.png
-)
-
-#gnucash-guide.xml: ${CMAKE_SOURCE_DIR}/guide/C/gnucash-guide.xml ${entities} ${srcdir}/it.po
-#        xml2po -e -p ${srcdir}/it.po -o $@ ${CMAKE_SOURCE_DIR}/guide/C/gnucash-guide.xml
+#index.docbook: ${COMPONENTS} ${srcdir}/it.po
+#        xml2po -e -p ${srcdir}/it.po -o $@ ${top_srcdir}/guide/C/index.docbook
 #        if test "${srcdir}" != "${builddir}"; then mv $@ ${srcdir}; fi
 
 add_gnc_doc_targets(${docname} "" "${figures}")
diff --git a/guide/it/gnucash-guide.xml b/guide/it/index.docbook
similarity index 100%
rename from guide/it/gnucash-guide.xml
rename to guide/it/index.docbook
diff --git a/guide/ja/gnucash-guide.xml b/guide/ja/index.docbook
similarity index 100%
rename from guide/ja/gnucash-guide.xml
rename to guide/ja/index.docbook
diff --git a/guide/pt/gnucash-guide.xml b/guide/pt/index.docbook
similarity index 100%
rename from guide/pt/gnucash-guide.xml
rename to guide/pt/index.docbook
diff --git a/guide/ru/gnucash-guide.xml b/guide/ru/index.docbook
similarity index 100%
rename from guide/ru/gnucash-guide.xml
rename to guide/ru/index.docbook
diff --git a/manual/C/gnucash-help.xml b/manual/C/index.docbook
similarity index 99%
rename from manual/C/gnucash-help.xml
rename to manual/C/index.docbook
index 14b12824..3ead2217 100644
--- a/manual/C/gnucash-help.xml
+++ b/manual/C/index.docbook
@@ -9,7 +9,7 @@
   Translators:
                (translators put your name and email here)
 -->
-<book id="help" lang="en"
+<book id="index" lang="en"
       xmlns:xi="http://www.w3.org/2001/XInclude">
 <!-- please do not change the id; for translations, change lang to -->
 <!-- appropriate code -->
diff --git a/manual/de/gnucash-help.xml b/manual/de/index.docbook
similarity index 99%
rename from manual/de/gnucash-help.xml
rename to manual/de/index.docbook
index 37383b9e..aa3fe676 100644
--- a/manual/de/gnucash-help.xml
+++ b/manual/de/index.docbook
@@ -18,7 +18,7 @@
     Structure of translation adjusted to rev 19776
     Frank Ellenberger (f.ellenberger at online.de)
 -->
-<book id='help' lang="de"
+<book id='index' lang="de"
       xmlns:xi="http://www.w3.org/2001/XInclude">
 <!-- please do not change the id; for translations, change lang to -->
 <!-- appropriate code -->
diff --git a/manual/it/gnucash-help.xml b/manual/it/index.docbook
similarity index 99%
rename from manual/it/gnucash-help.xml
rename to manual/it/index.docbook
index cc76aa34..8c22e7a0 100644
--- a/manual/it/gnucash-help.xml
+++ b/manual/it/index.docbook
@@ -16,7 +16,7 @@
   Translators:
                (translators put your name and email here)
 -->
-<book id="help" lang="it"
+<book id="index" lang="it"
       xmlns:xi="http://www.w3.org/2001/XInclude">
 <!-- please do not change the id; for translations, change lang to -->
 <!-- appropriate code -->
diff --git a/manual/pt/gnucash-help.xml b/manual/pt/index.docbook
similarity index 99%
rename from manual/pt/gnucash-help.xml
rename to manual/pt/index.docbook
index db093509..bf76f500 100644
--- a/manual/pt/gnucash-help.xml
+++ b/manual/pt/index.docbook
@@ -16,7 +16,7 @@
   Translators:
                (Pedro Albuquerque <palbuquerque73 at gmail.com>)
 -->
-<book id="help" lang="pt"
+<book id="index" lang="pt"
       xmlns:xi="http://www.w3.org/2001/XInclude">
 <!-- please do not change the id; for translations, change lang to -->
 <!-- appropriate code -->



Summary of changes:
 CMakeLists.txt                                     |  12 +-
 cmake/AddChmTarget.cmake                           |   2 +-
 cmake/AddEpubTarget.cmake                          |   4 +-
 cmake/AddGncDocTargets.cmake                       |  43 +++--
 cmake/AddHtmlTarget.cmake                          |   4 +-
 cmake/AddPdfTarget.cmake                           |   4 +-
 ...AddGHelpTarget.cmake => AddXdgHelpTarget.cmake} |  52 +++--
 cmake/CheckFigures.cmake                           |   2 +-
 cmake/MakeChm.cmake                                |   2 +-
 guide/C/appendixd.xml                              |   4 +-
 guide/C/ch_bus_features.xml                        |   2 +-
 guide/C/{gnucash-guide.xml => index.docbook}       |   0
 guide/C/legal.xml                                  |   2 +-
 guide/CMakeLists.txt                               |   6 +-
 guide/de/appendixd.xml                             |   4 +-
 guide/de/{gnucash-guide.xml => index.docbook}      |   0
 guide/it/CMakeLists.txt                            | 210 +++------------------
 guide/it/{gnucash-guide.xml => index.docbook}      |   8 +-
 guide/it/it.po                                     |   4 +-
 guide/ja/appendixd.xml                             |   4 +-
 guide/ja/{gnucash-guide.xml => index.docbook}      |   0
 guide/ja/legal.xml                                 |   2 +-
 guide/pt/appendixd.xml                             |   4 +-
 guide/pt/{gnucash-guide.xml => index.docbook}      |   0
 guide/pt/legal.xml                                 |   2 +-
 guide/ru/appendixd.xml                             |   4 +-
 guide/ru/ch_bus_features.xml                       |   2 +-
 guide/ru/{gnucash-guide.xml => index.docbook}      |   0
 guide/ru/legal.xml                                 |   2 +-
 manual/C/{gnucash-help.xml => index.docbook}       |   2 +-
 manual/C/legal.xml                                 |   2 +-
 manual/CMakeLists.txt                              |   6 +-
 manual/de/{gnucash-help.xml => index.docbook}      |   2 +-
 manual/de/legal.xml                                |   2 +-
 manual/it/{gnucash-help.xml => index.docbook}      |   4 +-
 manual/it/it.po                                    |   4 +-
 manual/pt/{gnucash-help.xml => index.docbook}      |   2 +-
 manual/pt/legal.xml                                |   2 +-
 38 files changed, 125 insertions(+), 286 deletions(-)
 rename cmake/{AddGHelpTarget.cmake => AddXdgHelpTarget.cmake} (50%)
 rename guide/C/{gnucash-guide.xml => index.docbook} (100%)
 rename guide/de/{gnucash-guide.xml => index.docbook} (100%)
 rename guide/it/{gnucash-guide.xml => index.docbook} (99%)
 rename guide/ja/{gnucash-guide.xml => index.docbook} (100%)
 rename guide/pt/{gnucash-guide.xml => index.docbook} (100%)
 rename guide/ru/{gnucash-guide.xml => index.docbook} (100%)
 rename manual/C/{gnucash-help.xml => index.docbook} (99%)
 rename manual/de/{gnucash-help.xml => index.docbook} (99%)
 rename manual/it/{gnucash-help.xml => index.docbook} (99%)
 rename manual/pt/{gnucash-help.xml => index.docbook} (99%)



More information about the gnucash-changes mailing list