From: Ian Lynagh Date: Wed, 19 Jan 2011 17:23:10 +0000 (+0000) Subject: Fix libraries/index.html's haddock dependency on Windows X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=db0c34cd9e76a69b0b06b9a31065eb8e23333f3a Fix libraries/index.html's haddock dependency on Windows --- diff --git a/ghc.mk b/ghc.mk index ddb657f..8d95bf8 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))