Help: Do not install Sphinx html build info files

Exclude '.buildinfo' and 'objects.inv' from installation as part
of the Sphinx-generated html documentation.
This commit is contained in:
Brad King 2014-01-28 09:12:44 -05:00
parent 93ddb26311
commit 0c3cf36b3a
1 changed files with 4 additions and 1 deletions

View File

@ -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()