From 2d010eeb38ef63bc4bd2d66ea86d9385a964f89a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charl=C3=A8ne=20Wendling?= Date: Tue, 22 Dec 2020 03:34:07 +0100 Subject: [PATCH] Use CMAKE_INSTALL_MANDIR Install manpages in the system's manpage folder instead of using CMAKE_INSTALL_DATADIR. This allows to respect manpage hierarchy on any OS. --- doc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 5c3d28275..9ba857821 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -39,6 +39,6 @@ if(UNIX AND NOT APPLE) ${CMAKE_BINARY_DIR}/fwb_ipt.1.gz ${CMAKE_BINARY_DIR}/fwb_pf.1.gz ${CMAKE_BINARY_DIR}/fwb_pix.1.gz - DESTINATION ${CMAKE_INSTALL_DATADIR}/man/man1) + DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) endif(UNIX AND NOT APPLE)