aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2016-12-08 22:02:04 -0800
committerGitHub <noreply@github.com>2016-12-08 22:02:04 -0800
commit5a3ed81d9a1a36e616ecc5cf9d57525f3560c149 (patch)
tree3b5c167ca799d30582af170afffec97333d322cb /CMakeLists.txt
parent18bf4acb9bc5b1ee79f757ea604efd8f10eac7cf (diff)
parente5f8df8088ef565dc1b06a1dde4daf8bb0133f31 (diff)
Merge pull request #2202 from j-selby/man-docs
Add man documentation
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 25631b32e..c02c96840 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -289,3 +289,15 @@ if(ENABLE_QT AND UNIX AND NOT APPLE)
install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.xml"
DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mime/packages")
endif()
+
+if(UNIX)
+ if(ENABLE_SDL2)
+ install(FILES "${CMAKE_SOURCE_DIR}/dist/citra.6"
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man6")
+ endif()
+
+ if (ENABLE_QT)
+ install(FILES "${CMAKE_SOURCE_DIR}/dist/citra-qt.6"
+ DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man6")
+ endif()
+endif()