diff options
| author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-12-08 22:02:04 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-08 22:02:04 -0800 |
| commit | 5a3ed81d9a1a36e616ecc5cf9d57525f3560c149 (patch) | |
| tree | 3b5c167ca799d30582af170afffec97333d322cb /CMakeLists.txt | |
| parent | 18bf4acb9bc5b1ee79f757ea604efd8f10eac7cf (diff) | |
| parent | e5f8df8088ef565dc1b06a1dde4daf8bb0133f31 (diff) | |
Merge pull request #2202 from j-selby/man-docs
Add man documentation
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 12 |
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() |
