summaryrefslogtreecommitdiffstats
path: root/Utilities/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-17 13:10:06 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-17 13:11:03 (GMT)
commit6a88e6332f1b31c337f8a7ddb73b1cf8c782f35e (patch)
tree20ce0acbf5a837a3e182375c7a202b238b60b8ae /Utilities/CMakeLists.txt
parentbdc752e3d5db06630e0795c5c0806260e0cce4cb (diff)
downloadCMake-6a88e6332f1b31c337f8a7ddb73b1cf8c782f35e.zip
CMake-6a88e6332f1b31c337f8a7ddb73b1cf8c782f35e.tar.gz
CMake-6a88e6332f1b31c337f8a7ddb73b1cf8c782f35e.tar.bz2
Utilities/Release: Drop now-unused scripts
Since these commits: * commit ab2276e6b9 (Utilities/Release: remove old macOS release script, 2020-09-16) * commit 7670ba8b0a (Utilities/Release: Drop win{32,64} scripts in favor of docker build, 2020-05-05, v3.18.0-rc1~203^2) * commit 689fdbfc61 (Utilities/Release: Drop linux64 script in favor of docker build, 2019-08-27, v3.16.0-rc1~184^2) several scripts we once used for producing release binaries for distribution on `cmake.org` are no longer needed.
Diffstat (limited to 'Utilities/CMakeLists.txt')
-rw-r--r--Utilities/CMakeLists.txt20
1 files changed, 1 insertions, 19 deletions
diff --git a/Utilities/CMakeLists.txt b/Utilities/CMakeLists.txt
index b739ae2..2a8c855 100644
--- a/Utilities/CMakeLists.txt
+++ b/Utilities/CMakeLists.txt
@@ -3,25 +3,7 @@
subdirs(Doxygen)
-if(CMAKE_DOC_TARBALL)
- # Undocumented option to extract and install pre-built documentation.
- # This is intended for use during packaging of CMake itself.
- if(CMAKE_DOC_TARBALL MATCHES "/([^/]+)\\.tar\\.gz$")
- set(dir "${CMAKE_MATCH_1}")
- else()
- message(FATAL_ERROR "CMAKE_DOC_TARBALL must end in .tar.gz")
- endif()
- add_custom_command(
- OUTPUT ${dir}.stamp
- COMMAND cmake -E rm -rf ${dir}
- COMMAND cmake -E tar xf ${CMAKE_DOC_TARBALL}
- COMMAND cmake -E touch ${dir}.stamp
- DEPENDS ${CMAKE_DOC_TARBALL}
- )
- add_custom_target(documentation ALL DEPENDS ${dir}.stamp)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${dir}/
- DESTINATION . USE_SOURCE_PERMISSIONS)
-elseif (CMake_DOC_ARTIFACT_PREFIX)
+if (CMake_DOC_ARTIFACT_PREFIX)
# Undocumented option for CI usage to reuse already
# built documentation.
install(DIRECTORY ${CMake_DOC_ARTIFACT_PREFIX}/