Upgrading to Git 1.5.3.4 on Mac OS X TigerEdit

These notes were made while upgrading to Git 1.5.3.4 on Mac OS X Tiger, using a local clone of the central Git repository. I didn't perform the same upgrade on the server (which is still running Git 1.5.3.2) because none of the changes really benefit in that setting (not actively working from that machine; just using it to host a central repository).

# get new stuff from upstream
git fetch

# check the signature on the tag
git tag -v v1.5.3.4

# switching working tree to 1.5.3.4
git checkout v1.5.3.4

# clean up any cruft that might be lying around
make clean

# build
make prefix=/usr/local all

# run tests
make prefix=/usr/local test

# install
sudo make prefix=/usr/local install

# get man pages
cd ..
wget http://www.kernel.org/pub/software/scm/git/git-manpages-1.5.3.4.tar.bz2 \
     http://www.kernel.org/pub/software/scm/git/git-manpages-1.5.3.4.tar.bz2.sign

# verify
gpg --verify git-manpages-1.5.3.4.tar.bz2.sign git-manpages-1.5.3.4.tar.bz2

# install
sudo tar xjv -C /usr/local/man -f git-manpages-1.5.3.4.tar.bz2