no-missing-haddock-file-warning
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Wed, 5 Oct 2016 19:27:23 +0000 (19:27 +0000)
committerClint Adams <clint@debian.org>
Wed, 5 Oct 2016 19:27:23 +0000 (19:27 +0000)
Gbp-Pq: Name no-missing-haddock-file-warning

utils/ghc-pkg/Main.hs

index decdb38f0334df942229fd094acbc599394cadc0..3078a93f8e483afe337b7821ff7b6815e31b71c8 100644 (file)
@@ -1533,8 +1533,10 @@ checkPackageConfig pkg verbosity db_stack auto_ghci_libs
   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