From: Debian Haskell Group Date: Mon, 25 Jun 2018 09:24:52 +0000 (+0100) Subject: no-missing-haddock-file-warning X-Git-Tag: archive/raspbian/8.2.2-4+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f4770c5d722090f5f8d9945ec0665edd6a85d3cc;p=ghc.git no-missing-haddock-file-warning Gbp-Pq: Name no-missing-haddock-file-warning --- diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs index 7d3cdc9a..0228c7fd 100644 --- a/utils/ghc-pkg/Main.hs +++ b/utils/ghc-pkg/Main.hs @@ -1773,8 +1773,10 @@ checkPackageConfig pkg verbosity db_stack mapM_ (checkDir True "dynamic-library-dirs") (libraryDynDirs pkg) mapM_ (checkDir True "include-dirs") (includeDirs pkg) mapM_ (checkDir True "framework-dirs") (frameworkDirs pkg) - mapM_ (checkFile True "haddock-interfaces") (haddockInterfaces pkg) - mapM_ (checkDirURL True "haddock-html") (haddockHTMLs pkg) + -- In Debian, it is quite normal that the package is installed without the + -- documentation. Do not print a warning there. + -- mapM_ (checkFile True "haddock-interfaces") (haddockInterfaces pkg) + -- mapM_ (checkDirURL True "haddock-html") (haddockHTMLs pkg) checkDuplicateModules pkg checkExposedModules db_stack pkg checkOtherModules pkg