From: Junio C Hamano Date: Sat, 13 Feb 2010 01:01:56 +0000 (-0800) Subject: dodoc: start from clean slate on a tagged version X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a414fc91d9ecb12675fc6f3f161b4052a28992e;p=thirdparty%2Fgit.git dodoc: start from clean slate on a tagged version --- diff --git a/dodoc.sh b/dodoc.sh index 132db78fca..0c064ce426 100755 --- a/dodoc.sh +++ b/dodoc.sh @@ -77,6 +77,15 @@ MAN_BASE_URL="http://www.kernel.org/pub/software/scm/git/docs/" BLK_SHA1=YesPlease GNU_ROFF=YesPlease' +case "$NID" in +?*-?*) ;; +?*) + make clean && + rm -fr doc-html-inst doc-man-inst && + mkdir doc-html-inst doc-man-inst || exit + ;; +esac + make >./:html.log 2>&1 \ -C Documentation -j 2 $dd \ WEBDOC_DEST="$DOCREPO/doc-html-inst" install-webdoc || exit