gnucash unstable: Fix installation destinations for overrides and quotes scripts

Geert Janssens gjanssens at code.gnucash.org
Thu Nov 30 11:37:40 EST 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/649a6a26 (commit)
	from  https://github.com/Gnucash/gnucash/commit/41656c92 (commit)



commit 649a6a263e939bf6a7c91d44558d442b943ba89d
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Nov 30 17:37:32 2017 +0100

    Fix installation destinations for overrides and quotes scripts
    
    Mentioned by Robert Gowin and Christopher Lam

diff --git a/gnucash/overrides/CMakeLists.txt b/gnucash/overrides/CMakeLists.txt
index 620f6ea..1ca1c47 100644
--- a/gnucash/overrides/CMakeLists.txt
+++ b/gnucash/overrides/CMakeLists.txt
@@ -28,5 +28,5 @@ INSTALL(
     PROGRAMS
       ${SCRIPT_OUTPUT_DIR}/gnucash-env
       ${SCRIPT_OUTPUT_DIR}/gnucash-make-guids
-    DESTINATION }exec/gnucash/overrides
+    DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/gnucash/overrides
 )
diff --git a/libgnucash/quotes/CMakeLists.txt b/libgnucash/quotes/CMakeLists.txt
index 21118ed..5ba5e9c 100644
--- a/libgnucash/quotes/CMakeLists.txt
+++ b/libgnucash/quotes/CMakeLists.txt
@@ -47,7 +47,7 @@ ENDFOREACH(file)
 ADD_CUSTOM_TARGET(quotes-man ALL DEPENDS ${_MAN_FILES})
 ADD_CUSTOM_TARGET(quotes-bin ALL DEPENDS gnc-fq-check gnc-fq-update)
 INSTALL(FILES ${_MAN_FILES} DESTINATION share/man/man1)
-INSTALL(PROGRAMS ${_BIN_FILES} DESTINATION })
+INSTALL(PROGRAMS ${_BIN_FILES} DESTINATION ${CMAKE_INSTALL_BINDIR})
 
 SET_DIST_LIST(quotes_DIST CMakeLists.txt gnc-fq-check.in gnc-fq-dump gnc-fq-helper.in gnc-fq-update.in
         gnc-value-portfolio Makefile.am Quote_example.pl README)



Summary of changes:
 gnucash/overrides/CMakeLists.txt | 2 +-
 libgnucash/quotes/CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list