Skip to content

Commit 4eee2e8

Browse files
author
Samarth Narang
committed
Explicitly copy generated rst file for HTML build
1 parent b1ef915 commit 4eee2e8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

flang/docs/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ if (LLVM_ENABLE_SPHINX)
122122
"${FLANG_DOCS_HTML_DIR}"
123123
COMMAND "${CMAKE_COMMAND}" -E remove
124124
"${FLANG_DOCS_HTML_DIR}/CommandGuide/index.rst"
125+
COMMAND "${CMAKE_COMMAND}" -E copy
126+
"${CMAKE_CURRENT_BINARY_DIR}/Source/FlangCommandLineReference.rst"
127+
"${FLANG_DOCS_HTML_DIR}/FlangCommandLineReference.rst"
125128
DEPENDS flang-doc gen-FlangCommandLineReference.rst)
126129

127130
# Run Python preprocessing ONLY for HTML build

0 commit comments

Comments
 (0)