no-missing-haddock-file-warning
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Fri, 30 Dec 2016 02:30:41 +0000 (02:30 +0000)
committerRaspbian forward porter <root@raspbian.org>
Fri, 30 Dec 2016 02:30:41 +0000 (02:30 +0000)
Gbp-Pq: Name no-missing-haddock-file-warning

utils/ghc-pkg/Main.hs

index af3032d067628ce659592137f4d4a891fc520a45..610651a162409636c62e0d9f33db55d2deaf251f 100644 (file)
@@ -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