diff options
author | http://mildred.pip.verisignlabs.com/ <http://mildred.pip.verisignlabs.com/@web> | 2012-04-13 07:57:28 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2012-04-13 07:57:28 +0000 |
commit | ebc91c7637b8f245d467742fc33a577ca9516105 (patch) | |
tree | 70fc24ef9bdf22b5283b0c024495ea029dbd48b3 /doc/install.mdwn | |
parent | 8000fae9b259153c921b682afe3388791db20149 (diff) |
Installation by hand using cabal / Setup.hs
Diffstat (limited to 'doc/install.mdwn')
-rw-r--r-- | doc/install.mdwn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/install.mdwn b/doc/install.mdwn index 04d961e00..b85700e66 100644 --- a/doc/install.mdwn +++ b/doc/install.mdwn @@ -50,3 +50,13 @@ To build and use git-annex, you will need: * [ikiwiki](http://ikiwiki.info) (optional; used to build the docs) Then just [[download]] git-annex and run: `make; make install` + +## Installation by hand using cabal / Setup.hs + +You can fetch the dependencies using `cabal install`. Then, you can build git-annex by running: + + runhaskell Setup.hs configure --user + runhaskell Setup.hs build + runhaskell Setup.hs install --bindir=$HOME/bin + +The `--user` option configures the build so that it uses the packages you already have in `~/.cabal`. |