diff options
author | Simon Marlow <marlowsd@gmail.com> | 2012-01-30 11:19:03 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-01-30 11:19:03 +0000 |
commit | 9fff25eaf08016c4c0e32a7087a1249d586550c0 (patch) | |
tree | 7a2f13260f24d610abea5cd8f8bf3a51d0787c54 /rules/haddock.mk | |
parent | 4ff3a642fbb61cf329d468993e9f732940f9f680 (diff) | |
download | haskell-9fff25eaf08016c4c0e32a7087a1249d586550c0.tar.gz |
Improve support for cross-compilation
Patchset from Stephen Blackheath <stephen.blackheath@ipwnstudios.com>
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 ff922ae978..0fc2043d67 100644 --- a/rules/haddock.mk +++ b/rules/haddock.mk @@ -42,7 +42,7 @@ endif ifneq "$$(BINDIST)" "YES" $$($$($1_PACKAGE)-$$($1_$2_VERSION)_HADDOCK_FILE) : $$(INPLACE_BIN)/haddock$$(exeext) $$(GHC_CABAL_INPLACE) $$($1_$2_HS_SRCS) $$($$($1_PACKAGE)-$$($1_$2_VERSION)_HADDOCK_DEPS) | $$$$(dir $$$$@)/. ifeq "$$(HSCOLOUR_SRCS)" "YES" - "$$(GHC_CABAL_INPLACE)" hscolour $2 $1 + CROSS_COMPILE="$(CrossCompilePrefix)" "$$(GHC_CABAL_INPLACE)" hscolour $2 $1 endif "$$(TOP)/$$(INPLACE_BIN)/haddock" \ --odir="$1/$2/doc/html/$$($1_PACKAGE)" \ |