From 2b59b1ac4576452686260b9124f07e8daf5ea5dd Mon Sep 17 00:00:00 2001 From: orbea Date: Sat, 2 Apr 2016 13:16:29 -0700 Subject: [PATCH] mandir added --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 92f112d67c..12bb09060a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -76,6 +76,7 @@ if(APPLE) else() set(bindir ${CMAKE_INSTALL_PREFIX}/bin CACHE PATH "bindir") set(datadir ${CMAKE_INSTALL_PREFIX}/share/dolphin-emu CACHE PATH "datadir") + set(mandir ${CMAKE_INSTALL_PREFIX}/share/man CACHE PATH "mandir") add_definitions(-DDATA_DIR="${datadir}/") endif() @@ -962,9 +963,9 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications) # Install manpages install(FILES Data/dolphin-emu.6 - DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man6) + DESTINATION ${mandir}/man6) install(FILES Data/dolphin-emu-nogui.6 - DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man6) + DESTINATION ${mandir}/man6) endif() # packaging information