diff options
Diffstat (limited to 'hadrian/src/Rules/BinaryDist.hs')
-rw-r--r-- | hadrian/src/Rules/BinaryDist.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hadrian/src/Rules/BinaryDist.hs b/hadrian/src/Rules/BinaryDist.hs index 3902643079..24d9217cce 100644 --- a/hadrian/src/Rules/BinaryDist.hs +++ b/hadrian/src/Rules/BinaryDist.hs @@ -226,8 +226,8 @@ bindistRules = do -- version should not be used for directories the build system can -- create. Using the Action version caused documentation to not be -- included in the bindist in the past (part of the problem in #18669). - whenM (liftIO (IO.doesDirectoryExist (root -/- "docs"))) $ do - copyDirectory (root -/- "docs") bindistFilesDir + whenM (liftIO (IO.doesDirectoryExist (root -/- "doc"))) $ do + copyDirectory (root -/- "doc") bindistFilesDir copyFile ("libraries" -/- "prologue.txt") (bindistFilesDir -/- "docs-utils" -/- "prologue.txt") copyFile ("libraries" -/- "gen_contents_index") (bindistFilesDir -/- "docs-utils" -/- "gen_contents_index" ) |