Bug 248446 - dev-util/git: git-help cannot find html docs
Bug#: 248446 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: ferdy@gentoo.org Reported By: jhovold@gmail.com
Component: Development
URL: 
Summary: dev-util/git: git-help cannot find html docs
Keywords:  
Status Whiteboard: 
Opened: 2008-11-23 18:14 0000
Description:   Opened: 2008-11-23 18:14 0000
git-help expects html docs in /usr/share/doc/git-doc but the ebuild installs it
to a non-standard location (e.g. /usr/share/doc/git-1.5.6.4/html).


Reproducible: Always

Steps to Reproduce:
1. $ git help -w clone


Actual Results:  
fatal: '/usr/share/doc/git-doc': not a documentation directory.

Expected Results:  
file:///usr/share/doc/git-1.5.6.4/html/git-clone.html is opened in a web
browser.

The html doc path is set at compile time using the GIT_HTML_PATH define. A
non-standard location can be set by overriding the htmldir variable in the
Makefile.

------- Comment #1 From Johan Hovold 2008-11-23 18:19:14 0000 -------
Created an attachment (id=173049) [details]
Patch to make the ebuild override htmldir

This patch makes the ebuild override htmldir with the correct path.

------- Comment #2 From Robin Johnson 2008-11-24 01:09:42 0000 -------
Fixed in git-1.6.0.4-r1