From: Junio C Hamano Date: Mon, 26 Dec 2005 09:10:28 +0000 (-0800) Subject: Do more things on kernel.org. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=049e159103082834c5ba67d4857026ccbf370560;p=git.git Do more things on kernel.org. --- diff --git a/DoKernelOrg b/DoKernelOrg new file mode 100755 index 00000000..54fae2e2 --- /dev/null +++ b/DoKernelOrg @@ -0,0 +1,32 @@ +#!/bin/sh + +cd $HOME/git && +make clean && +git reset --hard && +make clean && +git checkout master && +git pull . origin && +make clean test doc install && +make clean +git checkout pu && +make test clean && +case "$1" in +maint | master) + git checkout "$1" && + make rpm && + cp git-*.tar.gz $HOME/tarpit/ && + make clean && + make git doc && + V=$(./git --version | sed -e 's/git version //') && + D=`pwd` && + M="git-man-pages-$V" && + rm -rf "$M" && + rm -f "$M".tar.gz && + ./Make man1="$D/$M/man1" man7="$D/$M/man7" -C Documentation install && + tar zcf "$HOME/tarpit/$M".tar.gz "$M" && + rm -fr "$M" && + make clean || + exit $? + ;; +esac +git checkout master