diff options
author | Simon Marlow <marlowsd@gmail.com> | 2010-01-13 21:03:11 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2010-01-13 21:03:11 +0000 |
commit | 42ffa0bbd00cb8fafa50e906f38951adf0986f7e (patch) | |
tree | ec0c469f0cc51d52623f547055f3e7f0df4ca00c /rules | |
parent | f3c529f27f03934902efaba0fdbaff92ee098d3e (diff) | |
download | haskell-42ffa0bbd00cb8fafa50e906f38951adf0986f7e.tar.gz |
hide modules properly with haddock
Diffstat (limited to 'rules')
-rw-r--r-- | rules/haddock.mk | 1 |
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) \ |