From 2a414fc91d9ecb12675fc6f3f161b4052a28992e Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Fri, 12 Feb 2010 17:01:56 -0800 Subject: [PATCH] dodoc: start from clean slate on a tagged version --- dodoc.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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