3 # Perform sanity checks on documentation and build it.
9 sed -e '/^GIT_VERSION = /d' \
10 -e '/^ \* new asciidoc flags$/d' \
17 # Build docs with AsciiDoc
18 make doc > >(tee stdout.log) 2> >(tee stderr.raw >&2)
20 filter_log stderr.raw >stderr.log
22 test -s Documentation/git.html
23 test -s Documentation/git.xml
24 test -s Documentation/git.1
25 grep '<meta name="generator" content="AsciiDoc ' Documentation/git.html
27 rm -f stdout.log stderr.log stderr.raw
28 check_unignored_build_artifacts
30 # Build docs with AsciiDoctor
32 make USE_ASCIIDOCTOR=1 doc > >(tee stdout.log) 2> >(tee stderr.raw >&2)
34 filter_log stderr.raw >stderr.log
36 test -s Documentation/git.html
37 grep '<meta name="generator" content="Asciidoctor ' Documentation/git.html
39 rm -f stdout.log stderr.log stderr.raw
40 check_unignored_build_artifacts