no-missing-haddock-file-warning
authorDebian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>
Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)
committerJoachim Breitner <nomeata@debian.org>
Sat, 16 Jun 2012 10:48:18 +0000 (10:48 +0000)
Gbp-Pq: Name no-missing-haddock-file-warning

utils/ghc-pkg/Main.hs

index 14664a8adabb6dc58bcbf59535bb7c231123a751..5e1cd9299a7560626641ff2ec9b550db981f741c 100644 (file)
@@ -1346,8 +1346,10 @@ checkPackageConfig pkg 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 (libraryDirs pkg) auto_ghci_libs) (hsLibraries pkg)
   -- ToDo: check these somehow?