summaryrefslogtreecommitdiff
path: root/utils/ghc-cabal
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2010-01-13 21:03:11 +0000
committerSimon Marlow <marlowsd@gmail.com>2010-01-13 21:03:11 +0000
commit42ffa0bbd00cb8fafa50e906f38951adf0986f7e (patch)
treeec0c469f0cc51d52623f547055f3e7f0df4ca00c /utils/ghc-cabal
parentf3c529f27f03934902efaba0fdbaff92ee098d3e (diff)
downloadhaskell-42ffa0bbd00cb8fafa50e906f38951adf0986f7e.tar.gz
hide modules properly with haddock
Diffstat (limited to 'utils/ghc-cabal')
-rw-r--r--utils/ghc-cabal/ghc-cabal.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/ghc-cabal/ghc-cabal.hs b/utils/ghc-cabal/ghc-cabal.hs
index 2e967e935b..489be4ad29 100644
--- a/utils/ghc-cabal/ghc-cabal.hs
+++ b/utils/ghc-cabal/ghc-cabal.hs
@@ -336,6 +336,7 @@ generate config_args distdir directory
let variablePrefix = directory ++ '_':distdir
let xs = [variablePrefix ++ "_VERSION = " ++ display (pkgVersion (package pd)),
variablePrefix ++ "_MODULES = " ++ unwords (map display modules),
+ variablePrefix ++ "_HIDDEN_MODULES = " ++ unwords (map display (otherModules bi)),
variablePrefix ++ "_SYNOPSIS =" ++ synopsis pd,
variablePrefix ++ "_HS_SRC_DIRS = " ++ unwords (hsSourceDirs bi),
variablePrefix ++ "_DEPS = " ++ unwords (map display dep_ids),