Skip to content

Commit 477e824

Browse files
committed
Minor fix for building html version
copy-flang-src-docs builds Source/ directory and in fixing, did not include it in the HTML target deps
1 parent 9a42043 commit 477e824

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flang/docs/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ if (LLVM_ENABLE_SPHINX)
126126

127127
if (${SPHINX_OUTPUT_HTML})
128128
add_sphinx_target(html flang SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/Source")
129+
add_dependencies(docs-flang-html copy-flang-src-docs)
129130
endif()
130131
if (${SPHINX_OUTPUT_MAN})
131132
add_sphinx_target(man flang SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/Source")

0 commit comments

Comments
 (0)