summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/create-cmake-release.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-09-02 18:15:59 (GMT)
committerBrad King <brad.king@kitware.com>2015-09-02 18:15:59 (GMT)
commit6f7edb87ea07ee50874728cceb8a01648ab16964 (patch)
treebd47ef3290e87cbcec5ab5929e5c7451a464f9fa /Utilities/Release/create-cmake-release.cmake
parent7d891cde021bf941bc79c39076531cb1889c2a27 (diff)
downloadCMake-6f7edb87ea07ee50874728cceb8a01648ab16964.zip
CMake-6f7edb87ea07ee50874728cceb8a01648ab16964.tar.gz
CMake-6f7edb87ea07ee50874728cceb8a01648ab16964.tar.bz2
Utilities/Release: Install docs in unversioned directory (#15692)
Our upstream-built release tarballs already contain many unversioned paths and so will never overlap with another version of CMake in the same installation prefix. Therefore we do not need a versioned name for the documentation directory. Configure our release binaries to place the documentation in an unversioned directory so that one can use the same path to refer to the documentation locally even after updating CMake. For example, on OS X one may see the documentation in `/Applications/CMake.app/Contents/doc/cmake/html/index.html`.
Diffstat (limited to 'Utilities/Release/create-cmake-release.cmake')
-rw-r--r--Utilities/Release/create-cmake-release.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/Release/create-cmake-release.cmake b/Utilities/Release/create-cmake-release.cmake
index 4b93e6e..4cfa2ed 100644
--- a/Utilities/Release/create-cmake-release.cmake
+++ b/Utilities/Release/create-cmake-release.cmake
@@ -54,6 +54,7 @@ mkdir \${name}-build &&
cd \${name}-build &&
\"${CMAKE_COMMAND}\" ../\${name}-src/Utilities/Sphinx \\
-DCMAKE_INSTALL_PREFIX=\"\$inst/\" \\
+ -DCMAKE_DOC_DIR=doc/cmake \\
-DSPHINX_EXECUTABLE=\"${SPHINX_EXECUTABLE}\" \\
-DSPHINX_HTML=ON -DSPHINX_MAN=ON &&
make install &&