Index: docs/CMakeLists.txt =================================================================== --- docs/CMakeLists.txt +++ docs/CMakeLists.txt @@ -109,6 +109,9 @@ if (${SPHINX_OUTPUT_MAN}) add_sphinx_target(man llvm) + if (${SPHINX_OUTPUT_HTML}) + add_dependencies(docs-llvm-html docs-llvm-man) + endif() endif() endif()