mandir added

This commit is contained in:
orbea 2016-04-02 13:16:29 -07:00
parent 57e40445a1
commit 2b59b1ac45
1 changed files with 3 additions and 2 deletions

View File

@ -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