no-missing-haddock-file-warning
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Tue, 6 Feb 2018 21:01:18 +0000 (21:01 +0000)
committerSean Whitton <spwhitton@spwhitton.name>
Tue, 6 Feb 2018 21:01:18 +0000 (21:01 +0000)
Gbp-Pq: Name no-missing-haddock-file-warning

utils/ghc-pkg/Main.hs

index c357ebbaeaaf003591205ed3d07ed78fd4d96709..c92df217f6607b3906118cd77dda1bcfe3222a3c 100644 (file)
@@ -1588,8 +1588,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