blob: 7af28e40ce9b2f21d171c31b0e37c78464fc95b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-man_CMakeLists.txt,v 1.1 2019/01/18 09:30:05 adam Exp $
Use correct mandir.
--- man/CMakeLists.txt.orig 2019-01-18 09:11:54.000000000 +0000
+++ man/CMakeLists.txt
@@ -15,7 +15,7 @@ function(one_page pname section srcname)
)
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/${pname}.${section}
- DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man${section}"
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_MANDIR}/man${section}"
)
install(
FILES ${CMAKE_CURRENT_BINARY_DIR}/${pname}.html
|