From: Debian Haskell Group Date: Wed, 1 Apr 2015 11:35:10 +0000 (+0000) Subject: no-missing-haddock-file-warning X-Git-Tag: archive/raspbian/8.0.2-9+rpi1~1^2^2^2^2^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f6f583ce7d4b2f5d569c08eadb1f64b37ebaa14e;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 d992b540..4c78e095 100644 --- a/utils/ghc-pkg/Main.hs +++ b/utils/ghc-pkg/Main.hs @@ -1362,8 +1362,10 @@ checkPackageConfig pkg verbosity db_stack auto_ghci_libs update = do 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) checkModules pkg mapM_ (checkHSLib verbosity (libraryDirs pkg) auto_ghci_libs) (hsLibraries pkg) -- ToDo: check these somehow?