diff options
author | Orivej Desh <orivej@gmx.fr> | 2018-06-12 01:14:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-06-12 14:25:37 (GMT) |
commit | 276e369813f100562c3e22020635552edfb722a2 (patch) | |
tree | 8df0588a5b93781d3c714ad20f3a4cc605b65ddb /Source/CMakeInstallDestinations.cmake | |
parent | 90ebc32d9e7400a590973b30c99f2986bcb2b755 (diff) | |
download | CMake-276e369813f100562c3e22020635552edfb722a2.zip CMake-276e369813f100562c3e22020635552edfb722a2.tar.gz CMake-276e369813f100562c3e22020635552edfb722a2.tar.bz2 |
Utilities/Sphinx: Add option to build and install Info manual
Add option `SPHINX_INFO` to enable the Sphinx 'texinfo' builder and use
the `makeinfo` tool to convert it to a `.info` file.
Diffstat (limited to 'Source/CMakeInstallDestinations.cmake')
-rw-r--r-- | Source/CMakeInstallDestinations.cmake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/CMakeInstallDestinations.cmake b/Source/CMakeInstallDestinations.cmake index 28f4e87..e82bec3 100644 --- a/Source/CMakeInstallDestinations.cmake +++ b/Source/CMakeInstallDestinations.cmake @@ -2,19 +2,22 @@ if(BEOS) set(CMAKE_BIN_DIR_DEFAULT "bin") # HAIKU set(CMAKE_DATA_DIR_DEFAULT "share/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}") # HAIKU - set(CMAKE_MAN_DIR_DEFAULT "documentation/man") # HAIKU set(CMAKE_DOC_DIR_DEFAULT "documentation/doc/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}") # HAIKU + set(CMAKE_INFO_DIR_DEFAULT "documentation/info") # HAIKU + set(CMAKE_MAN_DIR_DEFAULT "documentation/man") # HAIKU set(CMAKE_XDGDATA_DIR_DEFAULT "share") # HAIKU elseif(CYGWIN) set(CMAKE_BIN_DIR_DEFAULT "bin") # CYGWIN set(CMAKE_DATA_DIR_DEFAULT "share/cmake-${CMake_VERSION}") # CYGWIN set(CMAKE_DOC_DIR_DEFAULT "share/doc/cmake-${CMake_VERSION}") # CYGWIN + set(CMAKE_INFO_DIR_DEFAULT "share/info") # CYGWIN set(CMAKE_MAN_DIR_DEFAULT "share/man") # CYGWIN set(CMAKE_XDGDATA_DIR_DEFAULT "share") # CYGWIN else() set(CMAKE_BIN_DIR_DEFAULT "bin") # OTHER set(CMAKE_DATA_DIR_DEFAULT "share/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}") # OTHER set(CMAKE_DOC_DIR_DEFAULT "doc/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}") # OTHER + set(CMAKE_INFO_DIR_DEFAULT "info") # OTHER set(CMAKE_MAN_DIR_DEFAULT "man") # OTHER set(CMAKE_XDGDATA_DIR_DEFAULT "share") # OTHER endif() @@ -22,6 +25,7 @@ endif() set(CMAKE_BIN_DIR_DESC "bin") set(CMAKE_DATA_DIR_DESC "data") set(CMAKE_DOC_DIR_DESC "docs") +set(CMAKE_INFO_DIR_DESC "Info manual") set(CMAKE_MAN_DIR_DESC "man pages") set(CMAKE_XDGDATA_DIR_DESC "XDG specific files") @@ -35,6 +39,7 @@ foreach(v CMAKE_BIN_DIR CMAKE_DATA_DIR CMAKE_DOC_DIR + CMAKE_INFO_DIR CMAKE_MAN_DIR CMAKE_XDGDATA_DIR ) |