aboutsummaryrefslogtreecommitdiff
path: root/doc/install/cabal.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-30 15:15:04 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-30 15:17:26 -0400
commit88f1547a646f93d50cb68ec75a08f14c3841fdf5 (patch)
treea18a0dd9464412db20a8f2dad6b0d0cb246dd8d3 /doc/install/cabal.mdwn
parent988683019149a3e4b7d99e64ca738ffeeac6ff02 (diff)
update
Diffstat (limited to 'doc/install/cabal.mdwn')
-rw-r--r--doc/install/cabal.mdwn11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/install/cabal.mdwn b/doc/install/cabal.mdwn
index 96e623d3b..39df35194 100644
--- a/doc/install/cabal.mdwn
+++ b/doc/install/cabal.mdwn
@@ -5,7 +5,8 @@ and then:
cabal update
PATH=$HOME/bin:$PATH
- cabal install c2hs git-annex --bindir=$HOME/bin
+ cabal install c2hs
+ cabal install git-annex --bindir=$HOME/bin
The above downloads the latest release and installs it into a ~/bin/
directory, which you can put in your PATH.
@@ -20,3 +21,11 @@ you want, and use cabal as follows inside its source tree:
cabal configure
cabal build
cabal install --bindir=$HOME/bin
+
+By default, cabal will try to build git-annex with the git-annex assistant
+and webapp. This requires several C libraries and their headers be already
+installed on your system, including libgnutls, libgsasl, libxml2, and zlib.
+To build git-annex without the assistant and webapp, you can pass flags to
+cabal install. For example:
+
+ cabal install git-annex --flags="-assistant -WebApp" --bindir=$HOME/bin