summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-10-23 20:24:23 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-10-23 20:24:23 -0400
commit0db413d7771b4840a007cad56348f89fe1b80644 (patch)
tree91d129049ab90dac9debe1be85423c009bc483c6 /git-annex.cabal
parent38488f56da25221e66b3ad306906c5ff7f74c62b (diff)
added network-protocol-xmpp and -DWITH_XMPP
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal7
1 files changed, 7 insertions, 0 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index a2a89479b..0bbec1b08 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -43,6 +43,9 @@ Flag Webapp
Flag Pairing
Description: Enable pairing
+Flag XMPP
+ Description: Enable notifications using XMPP
+
Executable git-annex
Main-Is: git-annex.hs
Build-Depends: MissingH, hslogger, directory, filepath,
@@ -91,6 +94,10 @@ Executable git-annex
Build-Depends: network-multicast, network-info
CPP-Options: -DWITH_PAIRING
+ if flag(XMPP) && flag(Assistant)
+ Build-Depends: network-protocol-xmpp
+ CPP-Options: -DWITH_XMPP
+
Test-Suite test
Type: exitcode-stdio-1.0
Main-Is: test.hs