gnucash unstable: Fix project name, which also determines a number of default paths

Geert Janssens gjanssens at code.gnucash.org
Thu Feb 1 08:32:41 EST 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/d345624c (commit)
	from  https://github.com/Gnucash/gnucash/commit/84a1e810 (commit)



commit d345624c5540b3536dc9901eb2a82f59bb4913d6
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Feb 1 14:22:32 2018 +0100

    Fix project name, which also determines a number of default paths
    
    It should be all lowercase to be consistent

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d6accde..4e1ed7f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ ELSE()
   CMAKE_MINIMUM_REQUIRED (VERSION 3.0)
 ENDIF()
 
-PROJECT (Gnucash)
+PROJECT (gnucash)
 
 ENABLE_TESTING()
 
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index ea29e1d..109db6e 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -21,7 +21,7 @@ SET(doc_noinst_DATA
         misc-notes.txt README.HBCI README.OFX README.translator.txt tip_of_the_day.list.in
         TRANSLATION_HOWTO)
 
-INSTALL(FILES ${doc_DATA} DESTINATION  ${CMAKE_INSTALL_DATADIR}/doc/gnucash)
+INSTALL(FILES ${doc_DATA} DESTINATION  ${CMAKE_INSTALL_DOCDIR})
 
 SET_LOCAL_DIST(doc_DIST_local ${doc_DATA} ${doc_noinst_DATA})
 SET(doc_DIST ${doc_DIST_local} ${examples_DIST} PARENT_SCOPE)
diff --git a/doc/examples/CMakeLists.txt b/doc/examples/CMakeLists.txt
index 357f0a1..2eaf220 100644
--- a/doc/examples/CMakeLists.txt
+++ b/doc/examples/CMakeLists.txt
@@ -21,6 +21,6 @@ SET(examples_DATA
   web.qif
 )
 
-INSTALL(FILES ${examples_DATA} DESTINATION  ${CMAKE_INSTALL_DATADIR}/doc/gnucash)
+INSTALL(FILES ${examples_DATA} DESTINATION  ${CMAKE_INSTALL_DOCDIR})
 
 SET_DIST_LIST(examples_DIST ${examples_DATA} CMakeLists.txt )



Summary of changes:
 CMakeLists.txt              | 2 +-
 doc/CMakeLists.txt          | 2 +-
 doc/examples/CMakeLists.txt | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)



More information about the gnucash-changes mailing list