summaryrefslogtreecommitdiff
path: root/hadrian/src/Rules/Documentation.hs
diff options
context:
space:
mode:
Diffstat (limited to 'hadrian/src/Rules/Documentation.hs')
-rw-r--r--hadrian/src/Rules/Documentation.hs13
1 files changed, 0 insertions, 13 deletions
diff --git a/hadrian/src/Rules/Documentation.hs b/hadrian/src/Rules/Documentation.hs
index 2aa663f2aa..954264aa28 100644
--- a/hadrian/src/Rules/Documentation.hs
+++ b/hadrian/src/Rules/Documentation.hs
@@ -64,8 +64,6 @@ pathPath _ = ""
-- | Build all documentation
documentationRules :: Rules ()
documentationRules = do
- haddockResources
-
buildDocumentationArchives
buildHtmlDocumentation
buildManPage
@@ -109,17 +107,6 @@ buildSphinxHtml path = do
------------------------------------ Haddock -----------------------------------
--- | Copy resources into the @lib@ directory
-haddockResources :: Rules ()
-haddockResources = do
- root <- buildRootRules
- let resdir = "utils/haddock/haddock-api/resources"
- haddockLib = root -/- "stage1/lib" -- Haddock is built in stage1
-
- [ haddockLib -/- "html//*", haddockLib -/- "latex//*" ] |%> \target -> do
- let source = resdir -/- makeRelative haddockLib target
- copyFile source target
-
-- | Build the haddocks for GHC's libraries.
buildLibraryDocumentation :: Rules ()
buildLibraryDocumentation = do