summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-04-11 14:52:35 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-04-11 14:52:35 +0000
commit456e4282221478b4c9a13ec4746092f4dd54058f (patch)
treecd758f09c85eb560ca3bf704696888701b5e63da /Makefile
parent045dd8b9f7a7cc08704956366aa32c0f6bcf459e (diff)
downloadhaskell-456e4282221478b4c9a13ec4746092f4dd54058f.tar.gz
call prep-bin-dist-mingw as part of binary-dist, before we make the tarball
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 07c8175b26..c5d65edcb0 100644
--- a/Makefile
+++ b/Makefile
@@ -365,6 +365,12 @@ binary-dist::
done
endif
+# Jiggle the files around to make a valid Windows distribution if necessary
+ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
+binary-dist::
+ cd $(BIN_DIST_TMPDIR) && ../distrib/prep-bin-dist-mingw
+endif
+
.PHONY: binary-dist-doc-%
BIN_DIST_LIBDIR=$(BIN_DIST_DIR)/libraries