diff options
Diffstat (limited to 'hadrian/src')
-rw-r--r-- | hadrian/src/Rules/Documentation.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hadrian/src/Rules/Documentation.hs b/hadrian/src/Rules/Documentation.hs index 3b70ce3a18..2afbd87869 100644 --- a/hadrian/src/Rules/Documentation.hs +++ b/hadrian/src/Rules/Documentation.hs @@ -85,6 +85,10 @@ documentationRules = do -- Haddock's manual, and builds man pages "docs" ~> do root <- buildRoot + + -- we need to ensure that `configure` has been run (#17840) + need [configFile] + doctargets <- ghcDocs =<< flavour let html = htmlRoot -/- "index.html" -- also implies "docs-haddock" archives = map pathArchive docPaths |