From 7ac6d06890577f9edd1a1afbf592f42137441320 Mon Sep 17 00:00:00 2001 From: Debian Haskell Group Date: Wed, 5 Oct 2016 19:27:23 +0000 Subject: [PATCH] no-missing-haddock-file-warning Gbp-Pq: Name no-missing-haddock-file-warning --- utils/ghc-pkg/Main.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs index decdb38f..3078a93f 100644 --- a/utils/ghc-pkg/Main.hs +++ b/utils/ghc-pkg/Main.hs @@ -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 -- 2.30.2