mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-22 08:57:17 -06:00
c4a21bc9d4
This simplifies a number of escape sequences. The generated file to configure the man page was split up a bit further: - code that extracted the GNC_VCS_REV_Y_M from gnc-vcs-info.h was spun out into its own function that now sets all parameters in gnc-vcs-info.h as environment variables. - this function is now invoked by configure-manpage.cmake to extract the date to insert into the manpage. - the manpage in addition now shows the full date rather than only yyyy-mm. This is how man itself does it as well.
15 lines
501 B
CMake
15 lines
501 B
CMake
# Post install actions go here.
|
|
|
|
if (APPLE)
|
|
install(CODE "execute_process(
|
|
COMMAND /usr/bin/install_name_tool -add_rpath ${CMAKE_INSTALL_LIBDIR}
|
|
-add_rpath ${PKGLIBDIR}
|
|
${CMAKE_INSTALL_BINDIR}/gnucash)")
|
|
endif(APPLE)
|
|
|
|
|
|
set_dist_list(cmake_DIST CMakeLists.txt README_CMAKE.txt cmake_uninstall.cmake.in
|
|
configure-manpage.cmake git2version-info.cmake
|
|
version-info2env.cmake
|
|
)
|