Commit 9d094111 authored by Sylvain Henry's avatar Sylvain Henry Committed by Marge Bot

Hadrian: `docs` rule needs `configure` (#17840)

parent 240f5bf6
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment