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 GNU_ROFF=YesPlease
' '


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


DIFF=diff DIFF=diff
export DIFF export DIFF