Meta/dodoc: allow forced rebuilding the entire doc

todo
Junio C Hamano 2012-12-21 15:54:38 -08:00
parent 9f15e7532c
commit e8f506d01a
1 changed files with 10 additions and 5 deletions

View File

@ -69,14 +69,19 @@ dd='
GNU_ROFF=YesPlease
'

case "$NID" in
?*-?*) ;;
?*)
if test -z "$DOC_FROM_SCRATCH"
then
case "$NID" in
?*-?*) ;;
?*) DOC_FROM_SCRATCH=yes ;;
esac
fi
if test -n "$DOC_FROM_SCRATCH"
then
make clean &&
rm -fr doc-html-inst doc-man-inst &&
mkdir doc-html-inst doc-man-inst || exit
;;
esac
fi

DIFF=diff
export DIFF