From f7a4890dacbaa449ac94a20d066d02f3cb56c0ac Mon Sep 17 00:00:00 2001 From: Manuel Klimek Date: Thu, 28 Apr 2016 13:37:45 +0000 Subject: [PATCH] Fix spuriously dematerializing reference bug. Fixes PR26612. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@267877 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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) -- 2.40.0