update
This commit is contained in:
parent
581562f032
commit
13bf70107e
1 changed files with 10 additions and 1 deletions
|
@ -5,7 +5,8 @@ and then:
|
||||||
|
|
||||||
cabal update
|
cabal update
|
||||||
PATH=$HOME/bin:$PATH
|
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/
|
The above downloads the latest release and installs it into a ~/bin/
|
||||||
directory, which you can put in your PATH.
|
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 configure
|
||||||
cabal build
|
cabal build
|
||||||
cabal install --bindir=$HOME/bin
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue