From: Debian Haskell Group Date: Mon, 14 Nov 2016 16:35:40 +0000 (+0000) Subject: no-missing-haddock-file-warning X-Git-Tag: archive/raspbian/8.0.2-9+rpi1~1^2^2~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=19d1fc3412a41042f48e69628de755231b4048d3;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 af3032d0..610651a1 100644 --- a/utils/ghc-pkg/Main.hs +++ b/utils/ghc-pkg/Main.hs @@ -1585,8 +1585,10 @@ checkPackageConfig pkg verbosity db_stack mapM_ (checkDir True "library-dirs") (libraryDirs 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