call prep-bin-dist-mingw as part of binary-dist, before we make the tarball
authorSimon Marlow <simonmar@microsoft.com>
Wed, 11 Apr 2007 14:52:35 +0000 (14:52 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 11 Apr 2007 14:52:35 +0000 (14:52 +0000)
Makefile

index 07c8175..c5d65ed 100644 (file)
--- 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