File: 0003-Fix-man-install-path-for-cmake.patch

package info (click to toggle)
grcompiler 5.2-2.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 24,352 kB
  • sloc: cpp: 48,550; ansic: 6,104; sh: 4,427; makefile: 197; xml: 190; perl: 127; sed: 21
file content (15 lines) | stat: -rw-r--r-- 589 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
From: Bastian Germann <bastiangermann@fishpost.de>
Date: Thu, 21 May 2020 17:41:49 +0200
Description: Fix man install path for cmake
---
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 2b04a3c..7050718 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -16,5 +16,5 @@ if (DOCBOOK2MAN)
 endif()
 
 add_custom_target(docs ALL DEPENDS ${DOC_DEPENDS})
-install(FILES ${DOC_DEPENDS} DESTINATION ${CMAKE_INSTALL_MANDIR})
+install(FILES ${DOC_DEPENDS} DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
 install(FILES ${DOCS} DESTINATION ${CMAKE_INSTALL_DOCDIR}/${CMAKE_PROJECT_NAME})