From 62ae5e71ceaee2e5ae58c87f870cdc5ccfe67e33 Mon Sep 17 00:00:00 2001 From: alexbiehl Date: Tue, 11 Apr 2017 19:46:29 +0200 Subject: Move dist scripts to scripts/ --- scripts/build-windows-dist.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 scripts/build-windows-dist.sh (limited to 'scripts/build-windows-dist.sh') 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 +# * 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--Win32.zip" -- cgit v1.2.3