mirror of https://github.com/PCSX2/pcsx2.git
commit
93067ee30f
|
@ -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}/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_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_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)
|
if(NOT DISABLE_PCSX2_WRAPPER)
|
||||||
INSTALL(FILES "${CMAKE_SOURCE_DIR}/linux_various/PCSX2-linux.sh" DESTINATION "${BIN_DIR}")
|
INSTALL(FILES "${CMAKE_SOURCE_DIR}/linux_various/PCSX2-linux.sh" DESTINATION "${BIN_DIR}")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -64,6 +64,10 @@ if(PACKAGE_MODE)
|
||||||
set(DOC_DIR "${CMAKE_INSTALL_PREFIX}/share/doc/PCSX2")
|
set(DOC_DIR "${CMAKE_INSTALL_PREFIX}/share/doc/PCSX2")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(NOT DEFINED MAN_DIR)
|
||||||
|
set(MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man")
|
||||||
|
endif()
|
||||||
|
|
||||||
# Compile all source codes with those defines
|
# Compile all source codes with those defines
|
||||||
add_definitions(-DPLUGIN_DIR_COMPILATION=${PLUGIN_DIR} -DGAMEINDEX_DIR_COMPILATION=${GAMEINDEX_DIR} -DDOC_DIR_COMPILATION=${DOC_DIR})
|
add_definitions(-DPLUGIN_DIR_COMPILATION=${PLUGIN_DIR} -DGAMEINDEX_DIR_COMPILATION=${GAMEINDEX_DIR} -DDOC_DIR_COMPILATION=${DOC_DIR})
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue