Commit Graph

32 Commits

Author SHA1 Message Date
hallgren
a9f4d42652 Setup.hs: less verbose output during the compilation of the RGL
Only show the full gf command line if an error occurs.
2011-10-20 13:36:42 +00:00
hallgren
c0becec2bd Bug fix in setup for gf -server mode
Use the command "dist/build/gf/gf" instead of "gf" to compile the sample
grammars for the minibar, to avoid failing if gf is installed in a directory
which is not in the $PATH.
2011-10-14 19:34:55 +00:00
hallgren
8266df8f58 Bug fixes for gf -server mode and setup 2011-10-12 18:27:46 +00:00
hallgren
44d1a5a9f7 Improvements of "gf -server" mode and related setup
"gf -server" mode now contains everything needed to run the minibar and
the grammar editor (including example-based grammar writing).

The Setup.hs script installs the required files where gf -server can find them.
These files have been moved to a new directory: src/www.

The separate server program pgf-http is now obsolete.
2011-10-12 17:03:54 +00:00
hallgren
343e852bfe test suite: Don't fail because of the Win32/Unix text file incompatibility. 2011-09-19 13:14:01 +00:00
virk.shafqat
4fa3130a32 refinements-Pnb-2011-04-30 2011-04-30 18:11:48 +00:00
hallgren
bde22eadb5 Include Urd in the default set of languages to compile 2010-12-23 11:44:40 +00:00
hallgren
0b4aad88f6 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.
2010-12-22 21:18:47 +00:00
aarne
eb478cecb6 refined synopsis 2010-12-22 09:57:16 +00:00
aarne
e1e0bf1a22 remove -src from Setup; simplified str2numeral; bug fix in Finnish ordinal inflection 2010-12-21 09:58:12 +00:00
hallgren
acfa9722e2 Setup.hs: improved langs=... option
Instead of just giving an explicit list of languages to compile, you can
now also add and remove languages from the default list by using langs=+...
or langs=-...

Examples:

	cabal build langs=Eng,Swe,Ger   -- as before, compile the given 3 langs
	cabal build langs=-Fin          -- use default languages, but omit Fin 
	cabal build langs=+Urd		-- use default languages + Urd

("cabal build ..." is the same as "runhaskell Setup.hs build ...")
2010-11-30 16:49:15 +00:00
hallgren
47c276a656 Setup.hs: omit urdu when compiling the rgl, for now. 2010-11-30 16:29:36 +00:00
hallgren
4b45cc6b48 Use the internal preprocessors mkPresent and mkMinimal 2010-11-26 18:49:01 +00:00
aarne
75570c9820 flags in Setup.hs to speed up library compilation 2010-11-13 22:18:41 +00:00
aarne
d62c7b8dc1 added Urd to Setup 2010-09-03 14:05:07 +00:00
kevin.kofler
f2619d010d Setup.hs: Increase stack size for gf runs, fixes TryFin.gf build on Fedora 13 x86_64 2010-05-16 16:58:09 +00:00
krasimir
ad814e12c5 add Dutch to the list of languages in Setup.hs 2010-06-17 15:34:41 +00:00
krasimir
bc504835d2 add Bul to the list of languages in Setup.hs that have API 2010-04-19 09:43:58 +00:00
krasimir
9b362ff231 PGF is now real synchronous PMCFG 2010-01-17 21:35:36 +00:00
aarne
e91cd9c832 Dutch lexicon generated via Google translate; method in lib/src/MkExx.hs 2009-11-16 15:21:56 +00:00
krasimir
ca5b6b0eec integrate Polish in the build system 2009-10-24 12:32:03 +00:00
krasimir
93da32c1d4 bugfix in Setup.hs for Linux 2009-10-15 06:44:40 +00:00
krasimir
68c866cf11 the Setup.hs script should build the prelude also 2009-10-07 08:34:32 +00:00
krasimir
118e1e6bd8 add Romanian to the build system 2009-09-16 08:40:16 +00:00
krasimir
8e72ff3a1c added preCopy and postCopy hooks in Setup.hs 2009-06-23 11:44:36 +00:00
aarne
e89fdae2fa next-lib renamed to lib, lib to old-lib 2009-06-22 15:39:08 +00:00
krasimir
e69f8165c0 make erasing=on the default 2009-06-16 14:50:06 +00:00
krasimir
6d82c8ed3d now rgl-pgf produces one .pgf per language and finally one combined .pgf 2009-06-16 12:15:11 +00:00
krasimir
cb6527c018 now 'runghc Setup.hs test' runs a simple extensible testsuite 2009-05-20 14:57:42 +00:00
krasimir
2a80a301d4 implement command 'runghc Setup.hs test' 2009-05-13 08:44:47 +00:00
krasimir
c307fd50c0 added command rgl-none in Setup.hs 2009-05-14 20:12:41 +00:00
krasimir
f283944f5c Setup.hs now builds RGL. the code is borrowed from Make.hs 2009-05-11 06:55:11 +00:00