From bb44b2c27d2ccb5f5b591a4f169fbeb2760e6c10 Mon Sep 17 00:00:00 2001 From: Matthias Bach Date: Tue, 5 Mar 2024 08:42:06 +0100 Subject: [PATCH] Fix man page installation path for cmake builds The standard layout for man pages is for them to be stored in subdirectories based on the section they belong to. --- src/CMakeLists.txt | 2 +- src/qt/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 479d210bee..d458b210d4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -266,7 +266,7 @@ if(ENABLE_DAEMON) DESTINATION "${CMAKE_INSTALL_BINDIR}" ) install(FILES "${CMAKE_SOURCE_DIR}/doc/gridcoinresearchd.1" - DESTINATION "${CMAKE_INSTALL_MANDIR}" + DESTINATION "${CMAKE_INSTALL_MANDIR}/man1" ) install(FILES "${CMAKE_SOURCE_DIR}/contrib/init/gridcoinresearchd.service" DESTINATION /lib/systemd/system diff --git a/src/qt/CMakeLists.txt b/src/qt/CMakeLists.txt index 9a763d4e37..888fec44fe 100644 --- a/src/qt/CMakeLists.txt +++ b/src/qt/CMakeLists.txt @@ -194,7 +194,7 @@ if(UNIX AND NOT APPLE) DESTINATION "${CMAKE_INSTALL_DATADIR}/applications" ) install(FILES "${CMAKE_SOURCE_DIR}/doc/gridcoinresearch.1" - DESTINATION "${CMAKE_INSTALL_MANDIR}" + DESTINATION "${CMAKE_INSTALL_MANDIR}/man1" ) endif()