1
0
forked from GitHub/gf-core

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.
This commit is contained in:
hallgren
2011-10-25 18:25:49 +00:00
parent f7dc299c87
commit fb43ab5019
7 changed files with 9 additions and 39 deletions

View File

@@ -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