summaryrefslogtreecommitdiff
path: root/rules
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 /rules
parentf3c529f27f03934902efaba0fdbaff92ee098d3e (diff)
downloadhaskell-42ffa0bbd00cb8fafa50e906f38951adf0986f7e.tar.gz
hide modules properly with haddock
Diffstat (limited to 'rules')
-rw-r--r--rules/haddock.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules/haddock.mk b/rules/haddock.mk
index 9303d16eb4..10537a7d39 100644
--- a/rules/haddock.mk
+++ b/rules/haddock.mk
@@ -48,6 +48,7 @@ endif
--html \
--title="$$($1_PACKAGE)-$$($1_$2_VERSION)$$(if $$(strip $$($1_$2_SYNOPSIS)),: $$(strip $$($1_$2_SYNOPSIS)),)" \
--prologue="$1/$2/haddock-prologue.txt" \
+ $$(foreach mod,$$($1_$2_HIDDEN_MODULES),--hide=$$(mod)) \
$$(foreach pkg,$$($1_$2_DEPS),$$(if $$($$(pkg)_HADDOCK_FILE),--read-interface=../$$(pkg)$$(comma)$$($$(pkg)_HADDOCK_FILE))) \
$$(foreach opt,$$($1_$2_v_ALL_HC_OPTS),--optghc=$$(opt)) \
$$($1_$2_HADDOCK_FLAGS) $$($1_$2_HADDOCK_OPTS) \