From: Manuel Klimek Date: Thu, 28 Apr 2016 13:37:45 +0000 (+0000) Subject: Fix spuriously dematerializing reference bug. Fixes PR26612. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f7a4890dacbaa449ac94a20d066d02f3cb56c0ac;p=clang Fix spuriously dematerializing reference bug. Fixes PR26612. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267877 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 90682f66c5..1a86499baf 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -95,8 +95,10 @@ 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) + add_custom_command(TARGET docs-clang-html POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy + LibASTMatchersReference.html + "${CMAKE_CURRENT_BINARY_DIR}/html/LibASTMatchersReference.html") endif() if (${SPHINX_OUTPUT_MAN}) add_sphinx_target(man clang)