Add AST matcher reference to documentation directory when building HTML docs.
authorManuel Klimek <klimek@google.com>
Tue, 9 Feb 2016 10:59:21 +0000 (10:59 +0000)
committerManuel Klimek <klimek@google.com>
Tue, 9 Feb 2016 10:59:21 +0000 (10:59 +0000)
llvm-svn: 260218

clang/docs/CMakeLists.txt

index f42439a..90682f6 100644 (file)
@@ -95,6 +95,8 @@ if (LLVM_ENABLE_SPHINX)
     include(AddSphinxTarget)
     if (${SPHINX_OUTPUT_HTML})
       add_sphinx_target(html clang)
+      configure_file(LibASTMatchersReference.html
+        "${CMAKE_CURRENT_BINARY_DIR}/html/LibASTMatchersReference.html" COPYONLY)
     endif()
     if (${SPHINX_OUTPUT_MAN})
       add_sphinx_target(man clang)