summaryrefslogtreecommitdiffstats
path: root/Utilities/Sphinx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-01-28 14:12:44 (GMT)
committerBrad King <brad.king@kitware.com>2014-01-28 14:12:44 (GMT)
commit0c3cf36b3a1388bb9c3a718350c80eae0a41119d (patch)
treec8082b9e5946b50e6eb71a01dd1d4630d7f9371d /Utilities/Sphinx
parent93ddb26311d91df267d0ff1c2e93aabeff32165b (diff)
downloadCMake-0c3cf36b3a1388bb9c3a718350c80eae0a41119d.zip
CMake-0c3cf36b3a1388bb9c3a718350c80eae0a41119d.tar.gz
CMake-0c3cf36b3a1388bb9c3a718350c80eae0a41119d.tar.bz2
Help: Do not install Sphinx html build info files
Exclude '.buildinfo' and 'objects.inv' from installation as part of the Sphinx-generated html documentation.
Diffstat (limited to 'Utilities/Sphinx')
-rw-r--r--Utilities/Sphinx/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Utilities/Sphinx/CMakeLists.txt b/Utilities/Sphinx/CMakeLists.txt
index aa9735e..c60788f 100644
--- a/Utilities/Sphinx/CMakeLists.txt
+++ b/Utilities/Sphinx/CMakeLists.txt
@@ -111,5 +111,8 @@ endif()
if(SPHINX_HTML)
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
- DESTINATION ${CMAKE_DOC_DIR})
+ DESTINATION ${CMAKE_DOC_DIR}
+ PATTERN .buildinfo EXCLUDE
+ PATTERN objects.inv EXCLUDE
+ )
endif()