]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Update dodoc
authorJunio C Hamano <junio@hera.kernel.org>
Sun, 15 Nov 2009 10:05:56 +0000 (10:05 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 15 Nov 2009 10:07:17 +0000 (02:07 -0800)
dodoc.sh

index 5cbc2696b7059a1d94e94075c44f3699e69e5f2b..7396c043fa9484a2cf540b3c5f45fa1bd2aa19ca 100755 (executable)
--- a/dodoc.sh
+++ b/dodoc.sh
@@ -71,18 +71,17 @@ do
        rm -fr doc-$type-inst
 done
 
-case "$(asciidoc --version 2>&1)" in
-asciidoc' 8'.*)
-       ASCIIDOC8=YesPlease
-       export ASCIIDOC8 ;;
-esac
+dd='ASCIIDOC_NO_ROFF=YesPlease
+ASCIIDOC8=YesPlease
+BLK_SHA1=YesPlease
+GNU_ROFF=YesPlease'
 
 make >./:html.log 2>&1 \
-       -C Documentation -j 2 \
+       -C Documentation -j 2 $dd \
        WEBDOC_DEST="$DOCREPO/doc-html-inst" install-webdoc || exit
 
 make >./:man.log 2>&1 \
-       -C Documentation -j 2 \
+       -C Documentation -j 2 $dd \
        man1="$DOCREPO/doc-man-inst/man1" \
        man5="$DOCREPO/doc-man-inst/man5" \
        man7="$DOCREPO/doc-man-inst/man7" \