gnucash-docs maint: Install license files COPYING and COPYING-DOCS

Geert Janssens gjanssens at code.gnucash.org
Tue Sep 21 10:29:05 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash-docs/commit/7c0642f0 (commit)
	from  https://github.com/Gnucash/gnucash-docs/commit/ee9fa864 (commit)



commit 7c0642f0748ba06f73baaaf396c369e08cc392b9
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Tue Sep 21 16:28:25 2021 +0200

    Install license files COPYING and COPYING-DOCS

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ec19d5fb..70102d72 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -205,6 +205,10 @@ file(GLOB_RECURSE extrafiles
     cmake/* fonts/* stylesheet/* xsl/*)
 add_to_dist(${extrafiles})
 
+configure_file(COPYING ${DATADIR_BUILD}/${PROJECT_NAME}/COPYING COPYONLY)
+configure_file(COPYING-DOCS ${DATADIR_BUILD}/${PROJECT_NAME}/COPYING-DOCS COPYONLY)
+install(FILES COPYING COPYING-DOCS DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME})
+
 add_to_dist(
     AUTHORS
     CMakeLists.txt



Summary of changes:
 CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)



More information about the gnucash-changes mailing list