3 # Perform sanity checks on documentation and build it.
11 # Build docs with AsciiDoc
12 make doc
> >(tee stdout.log
) 2> >(tee stderr.log
>&2)
14 test -s Documentation
/git.html
15 test -s Documentation
/git.xml
16 test -s Documentation
/git
.1
17 grep '<meta name="generator" content="AsciiDoc ' Documentation
/git.html
19 rm -f stdout.log stderr.log
20 check_unignored_build_artifacts
22 # Build docs with AsciiDoctor
24 make USE_ASCIIDOCTOR
=1 doc
> >(tee stdout.log
) 2> >(tee stderr.log
>&2)
25 sed '/^GIT_VERSION = / d' stderr.log
27 test -s Documentation
/git.html
28 grep '<meta name="generator" content="Asciidoctor ' Documentation
/git.html
30 rm -f stdout.log stderr.log
31 check_unignored_build_artifacts