summaryrefslogtreecommitdiff
path: root/doc/install/cabal.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-04-13 11:15:27 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-04-13 11:15:48 -0400
commit64c00933479a20e57f11f0cf20b88a6a68b16d2b (patch)
tree10ab6229a62dae78fcb3d055b42f57c1f54f7e6c /doc/install/cabal.mdwn
parentcc70792772f3254fec97bdaaeda8a11bac43907a (diff)
move manual cabal install into its own page, and simplify it
Diffstat (limited to 'doc/install/cabal.mdwn')
-rw-r--r--doc/install/cabal.mdwn15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/install/cabal.mdwn b/doc/install/cabal.mdwn
new file mode 100644
index 000000000..fe7b025e1
--- /dev/null
+++ b/doc/install/cabal.mdwn
@@ -0,0 +1,15 @@
+As a haskell package, git-annex can be installed using cabal. For example:
+
+ cabal update
+ 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.
+
+But maybe you want something newer (or older). Then [[download]] the version
+you want, and use cabal as follows inside its source tree:
+
+ cabal update
+ cabal configure
+ cabal build
+ cabal install --bindir=$HOME/bin