mirror of
https://github.com/git/git.git
synced 2026-01-14 04:37:41 +00:00
Meta/dodoc: allow forced rebuilding the entire doc
This commit is contained in:
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
|
||||
|
||||
Reference in New Issue
Block a user