diff options
author | Ian Lynagh <igloo@earth.li> | 2010-05-25 14:58:30 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-05-25 14:58:30 +0000 |
commit | 79324024325fd2e966427faef770ac96c3c60c70 (patch) | |
tree | cacab83e4b2ba6b3f1e8218f228e1a802bb7bc6f /rules/haddock.mk | |
parent | 68c1816d93339e48b4907ed3b80e9551c2150a2d (diff) | |
download | haskell-79324024325fd2e966427faef770ac96c3c60c70.tar.gz |
When haddocking, we need the dependencies to have been built
as haddock loads the .hi files with the GHC API.
Diffstat (limited to 'rules/haddock.mk')
-rw-r--r-- | rules/haddock.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/haddock.mk b/rules/haddock.mk index 10537a7d39..676c533035 100644 --- a/rules/haddock.mk +++ b/rules/haddock.mk @@ -31,7 +31,7 @@ endif .PHONY: html_$1 html_$1 : $$($$($1_PACKAGE)-$$($1_$2_VERSION)_HADDOCK_FILE) -$$($1_PACKAGE)-$$($1_$2_VERSION)_HADDOCK_DEPS = $$(foreach n,$$($1_$2_DEPS),$$($$n_HADDOCK_FILE)) +$$($1_PACKAGE)-$$($1_$2_VERSION)_HADDOCK_DEPS = $$(foreach n,$$($1_$2_DEPS),$$($$n_HADDOCK_FILE) $$($$n_dist-install_v_LIB)) ifeq "$$(HSCOLOUR_SRCS)" "YES" $1_$2_HADDOCK_FLAGS += --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} |