summaryrefslogtreecommitdiff
path: root/build-binary-dist.sh
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2014-06-17 13:56:59 +0000
committerhallgren <hallgren@chalmers.se>2014-06-17 13:56:59 +0000
commit1668eb17e5b14fa64cac069c53250aadb50d5e9b (patch)
treed64a9bc9fa26a91c7426459311f262f9c3b0f890 /build-binary-dist.sh
parentf435966bf3de272f1a50232b9f2cb1a2d12e3b61 (diff)
build-binary-dist.sh: updated to include the C runtime system in binary tarballs
Also moved it to the bin directory. Run it with 'bash bin/build-binary-dish.sh'.
Diffstat (limited to 'build-binary-dist.sh')
-rw-r--r--build-binary-dist.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/build-binary-dist.sh b/build-binary-dist.sh
deleted file mode 100644
index 439d7e6dc..000000000
--- a/build-binary-dist.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#! /bin/bash
-
-### This script builds a binary distribution of GF from the source package
-### that this script is a part of. It also assumes that you have installed
-### the Haskell Platform, version 2010.1.0.0 or 2010.2.0.0
-
-destdir=/tmp/gf-build-binary-dist # assemble binary dist here
-prefix=/usr/local # where to install
-targz=gf-bin.tar.gz # the final tar file, should be renamed
-langs="" # which languages?
-#langs="langs=-Pol" # temporary problem with Polish, omit it
-
-set -e # Stop if an error occurs
-set -x # print commands before exuting them
-
-runhaskell Setup.hs configure --user --prefix $prefix -fserver
-runhaskell Setup.hs build $langs
-runhaskell Setup.hs copy --destdir=$destdir $langs
-
-tar -C $destdir/$prefix -zcf $targz .
-echo "Created $targz, rename it to something more informative"
-rm -r $destdir