mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 797353 - Add copyright and release info in appdata file
This also means the appdata file now requires preprocessing to set this info automatically.
This commit is contained in:
@@ -9,6 +9,6 @@ endif(APPLE)
|
||||
|
||||
|
||||
set_dist_list(cmake_DIST CMakeLists.txt README_CMAKE.txt cmake_uninstall.cmake.in
|
||||
configure-manpage.cmake git2version-info.cmake
|
||||
configure-appdata.cmake configure-manpage.cmake git2version-info.cmake
|
||||
version-info2env.cmake
|
||||
)
|
||||
|
||||
16
cmake/configure-appdata.cmake
Normal file
16
cmake/configure-appdata.cmake
Normal file
@@ -0,0 +1,16 @@
|
||||
# Command to configure the gnucash appdata file
|
||||
# These commands are stored in a separate cmake file as they have to be
|
||||
# rerun depending on build conditions, not depending on cmake conditions
|
||||
# (such as did the version string change or not)
|
||||
#
|
||||
# The following environment variables are used and should be properly set
|
||||
# by the calling code:
|
||||
# - SRC_DIR (top level source code directory)
|
||||
# - SRC (full path to gnc-vcs-info.h.in)
|
||||
# - DST (full path to destination for gnc-vcs-info.h)
|
||||
# - VCS_INFO_FILE (full path to gnc-vcs-info.h - can be in source tree (release builds) or build tree (git builds))
|
||||
# - DATADIR_BUILD (path to applicication data directory, typically {CMAKE_BINARY_DIR}/share)
|
||||
|
||||
include (${SRC_DIR}/cmake/version-info2env.cmake)
|
||||
versioninfo2env (${VCS_INFO_FILE})
|
||||
configure_file(${SRC} ${DST} )
|
||||
Reference in New Issue
Block a user