summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-19 13:01:41 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-19 13:04:33 -0400
commitf20a40f9d4a4574c9f88dac8fd02b73d7f594b8b (patch)
tree7568c61c06eec039a0ff4a52fff7abe795c0bfa9 /git-annex.cabal
parente2c86a4b582bf222a51e9bb9066edce204d68ac8 (diff)
MountWatcher thread
Currently only prints mount points when mounts happen.
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal11
1 files changed, 9 insertions, 2 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index e58bd4d95..00f57319d 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -31,6 +31,9 @@ Flag S3
Flag Inotify
Description: Enable inotify support
+Flag Dbus
+ Description: Enable dbus support
+
Flag Assistant
Description: Enable git-annex assistant and watch command
@@ -41,8 +44,8 @@ Executable git-annex
pcre-light, extensible-exceptions, dataenc, SHA, process, json, HTTP,
base == 4.5.*, monad-control, transformers-base, lifted-base,
IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance, process
- -- Need to list this because it's generated from a .hsc file.
- Other-Modules: Utility.Touch
+ -- Need to list these because they're generated from .hsc files.
+ Other-Modules: Utility.Touch Utility.Mounts
C-Sources: Utility/libdiskfree.c
Extensions: CPP
GHC-Options: -threaded
@@ -59,6 +62,10 @@ Executable git-annex
Build-Depends: hinotify
CPP-Options: -DWITH_INOTIFY
+ if flag(Dbus)
+ Build-Depends: dbus
+ CPP-Options: -DWITH_DBUS
+
Test-Suite test
Type: exitcode-stdio-1.0
Main-Is: test.hs