git-annex/doc/bugs/cabal_install_fails_to_install_manpage.mdwn

30 lines
1.5 KiB
Text
Raw Normal View History

2013-09-10 23:31:55 +00:00
### 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.
2013-09-11 00:10:42 +00:00
<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]]
2013-09-12 17:46:49 +00:00
2013-09-12 21:15:59 +00:00
I figured it out - that stuff is in the makefile, I updated [[install/cabal]] accordingly, so <del>done</del> - not done just yet. --[[anarcat]]
2013-09-12 21:06:23 +00:00
> 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]]
2013-09-12 21:15:59 +00:00
> > True, I didn't - the docs didn't say to. ;) But really, it's one of two things, either Setup.hs can install manpages, and then the Makefile shouldn't install it, or we should update documentation to use the makefile only. I'll try this again next time I reinstall through cabal i guess... -- [[anarcat]]