gf-server.cabal: a separate flag for the content service

* Use cabal install -ffastcgi to compile the fastcgi server.
  * Use cabal install -fcontent to compile the content service (off by default,
    currently broken)
  * Use both flag to compile both.
This commit is contained in:
hallgren
2011-06-21 15:38:57 +00:00
parent 55a20c6d05
commit 739e4caef3

View File

@@ -7,7 +7,11 @@ license-file: ../../LICENSE
synopsis: FastCGI Server for Grammatical Framework
flag fastcgi
Description: Build the fastcgi and content services (requires fastcgi and hsql-mysql packages)
Description: Build the fastcgi service (requires the fastcgi package)
Default: False
flag content
Description: Build content service (requires fastcgi and hsql-mysql packages)
Default: False
executable pgf-http
@@ -67,7 +71,7 @@ executable pgf-service
build-depends: unix
executable content-service
if flag(fastcgi)
if flag(content)
build-depends: base >=4.2 && <5,
fastcgi >= 3001.0.2.2, hsql-mysql, hsql, old-locale
buildable: True