summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-17 17:15:56 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-17 17:15:56 -0400
commit91567ab8f6fae75d1590bfd05567e84157887c4b (patch)
tree07e31acc9b6c97f2e20f78ec70b47cb07c8729f3 /git-annex.cabal
parentbf3339e5b7c26cd24acefdf7c33059433195e1f6 (diff)
make inotify a build flag etc
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal15
1 files changed, 10 insertions, 5 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 0fc4abaeb..1416a381d 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -1,5 +1,5 @@
Name: git-annex
-Version: 3.20120614
+Version: 3.20120616
Cabal-Version: >= 1.8
License: GPL
Maintainer: Joey Hess <joey@kitenet.net>
@@ -28,14 +28,16 @@ Description:
Flag S3
Description: Enable S3 support
+Flag Inotify
+ Description: Enable inotify support
+
Executable git-annex
Main-Is: git-annex.hs
Build-Depends: MissingH, hslogger, directory, filepath,
unix, containers, utf8-string, network, mtl, bytestring, old-locale, time,
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,
- hinotify, stm
+ IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance, stm
-- Need to list this because it's generated from a .hsc file.
Other-Modules: Utility.Touch
C-Sources: Utility/libdiskfree.c
@@ -45,6 +47,10 @@ Executable git-annex
Build-Depends: hS3
CPP-Options: -DWITH_S3
+ if flag(Inotify)
+ Build-Depends: hinotify
+ CPP-Options: -DWITH_INOTIFY
+
Test-Suite test
Type: exitcode-stdio-1.0
Main-Is: test.hs
@@ -52,8 +58,7 @@ Test-Suite test
unix, containers, utf8-string, network, mtl, bytestring, old-locale, time,
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,
- hinotify, stm
+ IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance, stm
Other-Modules: Utility.Touch
C-Sources: Utility/libdiskfree.c
Extensions: CPP