summaryrefslogtreecommitdiff
path: root/rules/haddock.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-09-03 22:13:35 +0000
committerIan Lynagh <igloo@earth.li>2010-09-03 22:13:35 +0000
commitdbd4b5697ca01d0c629511b9ff533fd487a2e919 (patch)
tree48a785764ec6e78ab1ea0fe1fed1c2744c26c522 /rules/haddock.mk
parent6f259e0eefc27e2c9fcdce99b0c760769b6fe435 (diff)
downloadhaskell-dbd4b5697ca01d0c629511b9ff533fd487a2e919.tar.gz
Give haddock per-package source entity paths; fixes #3810
Diffstat (limited to 'rules/haddock.mk')
-rw-r--r--rules/haddock.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/haddock.mk b/rules/haddock.mk
index 00084433a3..f943610bdc 100644
--- a/rules/haddock.mk
+++ b/rules/haddock.mk
@@ -50,7 +50,7 @@ endif
--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 pkg,$$($1_$2_DEPS),$$(if $$($$(pkg)_HADDOCK_FILE),--read-interface=../$$(pkg)$$(comma)../$$(pkg)/src/%{MODULE/./-}.html\#%{NAME}$$(comma)$$($$(pkg)_HADDOCK_FILE))) \
$$(foreach opt,$$($1_$2_v_ALL_HC_OPTS),--optghc=$$(opt)) \
$$($1_$2_HADDOCK_FLAGS) $$($1_$2_HADDOCK_OPTS) \
$$($1_$2_HS_SRCS) \