Setup.hs: build both alltenses and present by default

Now you can specify more than one mode when building and installing the RGL.
For example to build all modes, run

        runhaskell Setup.hs build alltenses present minimal

The default is to build alltenses and present, which means that a single
command,

        cabal install

is enough to obtain a normal installation of GF. Without this change, additional
build and install commands would be required before you can compile example
grammars, like Foods and Phrasebook.

The build-binary-dist.sh script has been simplified accordingly.
This commit is contained in:
hallgren
2010-12-22 21:18:47 +00:00
parent e93fdce56f
commit d47da82d00
2 changed files with 37 additions and 29 deletions

View File

@@ -18,11 +18,6 @@ runhaskell Setup.hs configure --user --prefix /usr/local
runhaskell Setup.hs build $langs
runhaskell Setup.hs copy --destdir=$destdir $langs
## These steps can be skipped when Setup.hs has been updated to build both
## alltenses and present by default
runhaskell Setup.hs build $langs present
runhaskell Setup.hs copy --destdir=$destdir $langs present
(
cd src/server