Pass ASCIIDOC8=YesPlease to Meta/Make and dodoc.sh as needed

This commit is contained in:
Junio C Hamano 2008-09-17 23:27:01 -07:00
parent 3af0e6709c
commit cce1400ada
3 changed files with 18 additions and 0 deletions

View file

@ -17,6 +17,12 @@ make clean >/dev/null 2>&1 &&
git checkout master &&
make clean >/dev/null 2>&1 &&
case "$(asciidoc --version 2>&1)" in
asciidoc' 8'.*)
ASCIIDOC8=YesPlease
export ASCIIDOC8 ;;
esac
case "$1" in
'')
echo "* Building all"

6
Make
View file

@ -81,6 +81,12 @@ sh -c 'git describe --abbrev=4 HEAD' >/dev/null 2>&1 || {
$GIT describe --abbrev=4 HEAD | sed -e 's/-/./g' >version
}
case "$(asciidoc --version 2>&1)" in
asciidoc' 8'.*)
ASCIIDOC8=YesPlease
export ASCIIDOC8 ;;
esac
CFLAGS="$O $Wall -Wdeclaration-after-statement -g"
make $d \

View file

@ -71,6 +71,12 @@ do
rm -fr doc-$type-inst
done
case "$(asciidoc --version 2>&1)" in
asciidoc' 8'.*)
ASCIIDOC8=YesPlease
export ASCIIDOC8 ;;
esac
make >./:html.log 2>&1 \
-C Documentation -j 2 \
WEBDOC_DEST="$DOCREPO/doc-html-inst" install-webdoc || exit