no-missing-haddock-file-warning
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Sat, 21 Sep 2019 10:06:31 +0000 (11:06 +0100)
committerGianfranco Costamagna <locutusofborg@debian.org>
Sat, 21 Sep 2019 10:06:31 +0000 (11:06 +0100)
Gbp-Pq: Name no-missing-haddock-file-warning

utils/ghc-pkg/Main.hs

index 69137eb4e4fde7f72edeea9245e49c5d2f0f857c..7367cf83229c85bcf21fb8035a0fe1e33146bc73 100644 (file)
@@ -1888,8 +1888,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