diff options
Diffstat (limited to 'hadrian/src/Builder.hs')
-rw-r--r-- | hadrian/src/Builder.hs | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/hadrian/src/Builder.hs b/hadrian/src/Builder.hs index 55dcb3c148..d09af9942e 100644 --- a/hadrian/src/Builder.hs +++ b/hadrian/src/Builder.hs @@ -23,7 +23,6 @@ import Hadrian.Builder.Sphinx import Hadrian.Builder.Tar import Hadrian.Oracles.Path import Hadrian.Oracles.TextFile -import Hadrian.Oracles.DirectoryContents import Hadrian.Utilities import Base @@ -188,16 +187,7 @@ instance H.Builder Builder where Hsc2Hs stage -> (\p -> [p]) <$> templateHscPath stage Make dir -> return [dir -/- "Makefile"] - - Haddock _ -> do - let resdir = "utils/haddock/haddock-api/resources" - latexResources <- directoryContents matchAll (resdir -/- "latex") - htmlResources <- directoryContents matchAll (resdir -/- "html") - - haddockLib <- stageLibPath Stage1 -- Haddock is built in stage1 - return $ [ haddockLib -/- makeRelative resdir f - | f <- latexResources ++ htmlResources ] - + Haddock _ -> haddockDeps Stage1 -- Haddock currently runs in Stage1 _ -> return [] -- query the builder for some information. |