aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/cabal_install_fails_to_install_manpage.mdwn
blob: 0bde0c9620ba734a3efad928417f352c06968ad0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
### Please describe the problem.

The git-annex manual page is not installed when using [[install/cabal]] to install git-annex.

### What steps will reproduce the problem?

Follow [[install/cabal]] with `--bin-dir=/usr/local` and try `man git-annex`.

I was expecting the manpage to be installed in `/usr/local/share/man`.

### What version of git-annex are you using? On what operating system?

git annex from a recent git build (4.20130909-g7f079d6) in Debian wheezy.

### Please provide any additional information below.

<del>This could be just a documentation problem...</del> Actually, the manpage can be read directly from the source tree in `doc/git-annex.mdwn`, but I still think it should be installed, for [[!wikipedia POLA]]'s sake. --[[anarcat]]

I figured it out - that stuff is in the makefile, I updated [[install/cabal]] accordingly, so done. --[[anarcat]]

> Doesn't seem right to me; Setup.hs has some stuff to do with
> installing man pages. This does currently require that they 
> are distributed in pre-built form in the .tar.gz on hackage, 
> which I've just checked and they are.
> 
> Perhaps cabal put the man pages somewhere else? After all, you 
> apparently did not set --datadir --[[Joey]]