Piku’s Blog

May 3, 2008

Compiling git with documentation

Filed under: Git — Tags: , , , , , , , — Piku @ 3:34 pm

I have previously posted how to compile git on Ubuntu but while using git I wanted to consulte the manual to get information about some commands and git help didn’t work. It seems that you have to manually specify when compiling that you want to have documentation included too.

Here’s how to do that. Go to the directory where you have unarchived git sources and type:

make doc
sudo make install-doc

You can also combine them when you compile git:

make all doc
sudo make install install-doc
About these ads

3 Comments »

  1. Thanks a bunch, your tips on git helped me get started with it and get it all running.

    Comment by Niels Joubert — November 28, 2008 @ 5:23 am

  2. compiling the man pages take a long time… just use the pre-built ones.

    http://www.jukie.net/~bart/blog/git-man-install

    Comment by bartman — November 28, 2008 @ 6:14 am

  3. yeah, or just by doing

    make quick-install-man
    make quick-install-doc
    make quick-install-html

    Comment by binor — December 19, 2008 @ 4:27 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Shocking Blue Green Theme. Create a free website or blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: