summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/users_guide/ghc.mk4
-rw-r--r--utils/mkUserGuidePart/ghc.mk2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/users_guide/ghc.mk b/docs/users_guide/ghc.mk
index 5f817757ce..bfd9433f7c 100644
--- a/docs/users_guide/ghc.mk
+++ b/docs/users_guide/ghc.mk
@@ -20,8 +20,8 @@ docs/users_guide_DOCBOOK_SOURCES := \
$(wildcard docs/users_guide/*.xml) \
$(basename $(wildcard docs/users_guide/*.xml.in)))
-$(docs/users_guide_GENERATED_DOCBOOK_SOURCES): %.xml: inplace/bin/mkUserGuidePart
- inplace/bin/mkUserGuidePart $@
+$(docs/users_guide_GENERATED_DOCBOOK_SOURCES): %.xml: inplace/bin/mkUserGuidePart$(exeext)
+ inplace/bin/mkUserGuidePart$(exeext) $@
$(eval $(call docbook,docs/users_guide,users_guide))
diff --git a/utils/mkUserGuidePart/ghc.mk b/utils/mkUserGuidePart/ghc.mk
index 2c31cf65ff..fa96769249 100644
--- a/utils/mkUserGuidePart/ghc.mk
+++ b/utils/mkUserGuidePart/ghc.mk
@@ -11,7 +11,7 @@
# -----------------------------------------------------------------------------
utils/mkUserGuidePart_dist_MODULES = Main
-utils/mkUserGuidePart_dist_PROG = mkUserGuidePart
+utils/mkUserGuidePart_dist_PROG = mkUserGuidePart$(exeext)
utils/mkUserGuidePart_HC_OPTS = -package ghc
utils/mkUserGuidePart/dist/build/Main.o: $(ALL_STAGE1_LIBS) $(compiler_stage2_v_LIB)