From: Debian Haskell Group Date: Fri, 19 Oct 2018 10:09:22 +0000 (+0100) Subject: no-missing-haddock-file-warning X-Git-Tag: archive/raspbian/8.4.3+dfsg1-4+rpi1~2^2~14 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=38ce03ef09531ad4f793f630f578e252e26611f7;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 0bedbb2c..7ff543cc 100644 --- a/utils/ghc-pkg/Main.hs +++ b/utils/ghc-pkg/Main.hs @@ -1824,8 +1824,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