From 049e159103082834c5ba67d4857026ccbf370560 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 26 Dec 2005 01:10:28 -0800 Subject: [PATCH] Do more things on kernel.org. --- DoKernelOrg | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 DoKernelOrg 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 -- 2.11.0