diff options
author | alexbiehl <alex.biehl@gmail.com> | 2017-08-21 20:05:42 +0200 |
---|---|---|
committer | alexbiehl <alex.biehl@gmail.com> | 2017-08-21 20:05:42 +0200 |
commit | 7a71af839bd71992a36d97650004c73bf11fa436 (patch) | |
tree | e64afbc9df5c97fde6ac6433e42f28df8a4acf49 /scripts/build-windows-dist.sh | |
parent | c8a01b83be52e45d3890db173ffe7b09ccd4f351 (diff) | |
parent | 740458ac4d2acf197f2ef8dc94a66f9b160b9c3c (diff) |
Merge remote-tracking branch 'origin/master' into ghc-head
Diffstat (limited to 'scripts/build-windows-dist.sh')
-rw-r--r-- | scripts/build-windows-dist.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/build-windows-dist.sh b/scripts/build-windows-dist.sh new file mode 100644 index 00000000..2ae7dd2a --- /dev/null +++ b/scripts/build-windows-dist.sh @@ -0,0 +1,18 @@ +# mini script for building the relocatable Windows binary distribution.
+#
+# sh build-windows-dist.sh
+#
+# NB. the Cabal that shipped with GHC 6.6 isn't enough for this, because it
+# is missing this patch:
+#
+# Fri Oct 13 11:09:41 BST 2006 Simon Marlow <simonmar@microsoft.com>
+# * Fix getDataDir etc. when bindir=$prefix
+#
+# So you need to use a more recent Cabal. GHC 6.6 is fine for building the
+# package, though.
+
+ghc --make Setup
+./Setup configure --prefix=`pwd`/install --bindir='$prefix' --libdir='$prefix' --datadir='$prefix'
+./Setup build
+./Setup install
+echo Now zip up `pwd`/install as "haddock-<version>-Win32.zip"
|