From 0c3cf36b3a1388bb9c3a718350c80eae0a41119d Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 28 Jan 2014 09:12:44 -0500 Subject: Help: Do not install Sphinx html build info files Exclude '.buildinfo' and 'objects.inv' from installation as part of the Sphinx-generated html documentation. --- Utilities/Sphinx/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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() -- cgit v0.12