summaryrefslogtreecommitdiff
path: root/build-binary-dist.sh
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2011-10-25 18:25:49 +0000
committerhallgren <hallgren@chalmers.se>2011-10-25 18:25:49 +0000
commita8185fd997ac7204daf39c4998a38dc6ecfd355e (patch)
treed572a1b0192a87cdc65a9b5244902a080ead9530 /build-binary-dist.sh
parent5fd8299805d3e635aa52a5841f23933daac56749 (diff)
Preparations for release of GF 3.3
+ Changing version numbers and dates here and there. + Simplify build-binary-dist.sh since pgf-http need not be built anymore. + Use--gf-lib-path to make the sample grammars for minibar compile even if GF is not installed.
Diffstat (limited to 'build-binary-dist.sh')
-rw-r--r--build-binary-dist.sh15
1 files changed, 1 insertions, 14 deletions
diff --git a/build-binary-dist.sh b/build-binary-dist.sh
index 2c014f57c..439d7e6dc 100644
--- a/build-binary-dist.sh
+++ b/build-binary-dist.sh
@@ -13,23 +13,10 @@ langs="" # which languages?
set -e # Stop if an error occurs
set -x # print commands before exuting them
-cabal install # gf needs to be installed before building gf-server below
-
-runhaskell Setup.hs configure --user --prefix $prefix
+runhaskell Setup.hs configure --user --prefix $prefix -fserver
runhaskell Setup.hs build $langs
runhaskell Setup.hs copy --destdir=$destdir $langs
-(
-cd src/server
-
-## If you don't already have the packages gf-server depends on, this is
-## the easiest way to install them:
-#cabal install
-
-runhaskell Setup.hs configure --user --prefix $prefix
-runhaskell Setup.hs build
-runhaskell Setup.hs copy --destdir=$destdir
-)
tar -C $destdir/$prefix -zcf $targz .
echo "Created $targz, rename it to something more informative"
rm -r $destdir