Add a note in the on-line Git book about installing the man pages?

2013-04-02 Thread David Tonhofer

Hi,

It seems the git man pages (or HTML pages) are not installed by default 
when you install git as described in the http://git-scm.com/book


I propose to add a note to 
http://git-scm.com/book/en/Getting-Started-Installing-Git along those lines:





Getting the git manpages from 
https://code.google.com/p/git-core/downloads/list; and unpack them 
(supposing you installed your git into /opt/git):


TARGET=/opt/git
VERSION=`$TARGET/bin/git --version | awk '{print $3}' | cut -d '.' -f1-3`
wget http://git-core.googlecode.com/files/git-manpages-${VERSION}.tar.gz;
mkdir $TARGET/share/man
tar xz -C $TARGET/share/man -f git-manpages-${VERSION}.tar.gz



--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: Add a note in the on-line Git book about installing the man pages?

2013-04-02 Thread Junio C Hamano
David Tonhofer d.tonho...@m-plify.com writes:

 It seems the git man pages (or HTML pages) are not installed by
 default when you install git as described in the
 http://git-scm.com/book

 I propose to add a note to
 http://git-scm.com/book/en/Getting-Started-Installing-Git along those
 lines:

 Getting the git manpages from
 https://code.google.com/p/git-core/downloads/list; and unpack them
 (supposing you installed your git into /opt/git):

I suspect that most end-users would install not from the source but
install Git from distro as binary packages.  I do not know what the
page of that website you refer to talks about offhand, but if it is
about installing from the source (so that they can help us improve
the software and its documentation), it may be a better idea to let
the users build the documentation pages from the source, not from
the above URL, which serves pre-formatted documentation we cannot
take a patch for.

--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html