Merge pull request #3766 from orbea/master

mandir added
This commit is contained in:
Pierre Bourdon 2016-04-02 23:20:21 +02:00
commit 12c393ed60
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