mirror of
https://github.com/git/git.git
synced 2026-01-12 05:43:12 +09:00
Meta/dodoc: allow forced rebuilding the entire doc
This commit is contained in:
parent
9f15e7532c
commit
e8f506d01a
15
dodoc.sh
15
dodoc.sh
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user