mirror of https://github.com/PCSX2/pcsx2.git
MAN_DIR added
This commit is contained in:
parent
6649f43069
commit
72699bc988
|
@ -106,7 +106,7 @@ if(PACKAGE_MODE)
|
|||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/linux_various/PCSX2.xpm" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pixmaps")
|
||||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/docs/PCSX2_FAQ.pdf" DESTINATION "${DOC_DIR}")
|
||||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/docs/PCSX2_Readme.pdf" DESTINATION "${DOC_DIR}")
|
||||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/docs/PCSX2.1" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1/")
|
||||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/docs/PCSX2.1" DESTINATION "${MAN_DIR}/man1")
|
||||
if(NOT DISABLE_PCSX2_WRAPPER)
|
||||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/linux_various/PCSX2-linux.sh" DESTINATION "${BIN_DIR}")
|
||||
endif()
|
||||
|
|
|
@ -64,6 +64,10 @@ if(PACKAGE_MODE)
|
|||
set(DOC_DIR "${CMAKE_INSTALL_PREFIX}/share/doc/PCSX2")
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED MAN_DIR)
|
||||
set(MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man")
|
||||
endif()
|
||||
|
||||
# Compile all source codes with those defines
|
||||
add_definitions(-DPLUGIN_DIR_COMPILATION=${PLUGIN_DIR} -DGAMEINDEX_DIR_COMPILATION=${GAMEINDEX_DIR} -DDOC_DIR_COMPILATION=${DOC_DIR})
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue