summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-01-19 17:23:10 +0000
committerIan Lynagh <igloo@earth.li>2011-01-19 17:23:10 +0000
commitdb0c34cd9e76a69b0b06b9a31065eb8e23333f3a (patch)
tree3528163798936308eca687d8f2607bac72c58b75 /ghc.mk
parent33fe71479b74a25ec28bd8f487f00a81b1e22a7f (diff)
downloadhaskell-db0c34cd9e76a69b0b06b9a31065eb8e23333f3a.tar.gz
Fix libraries/index.html's haddock dependency on Windows
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index ddb657f3cf..8d95bf82ea 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -703,7 +703,7 @@ $(foreach p,$(STAGE0_PACKAGES),$(eval libraries/$p_dist-boot_DO_HADDOCK = NO))
# Build the Haddock contents and index
ifeq "$(HADDOCK_DOCS)" "YES"
-libraries/index.html: inplace/bin/haddock $(ALL_HADDOCK_FILES)
+libraries/index.html: inplace/bin/haddock$(exeext) $(ALL_HADDOCK_FILES)
cd libraries && sh gen_contents_index --inplace
ifeq "$(phase)" ""
$(eval $(call all-target,library_doc_index,libraries/index.html))