Installation by hand using cabal / Setup.hs

This commit is contained in:
http://mildred.pip.verisignlabs.com/ 2012-04-13 07:57:28 +00:00 committed by admin
parent 8000fae9b2
commit ebc91c7637

View file

@ -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`.