]>
Commit | Line | Data |
---|---|---|
b98712b9 LS |
1 | #!/bin/sh |
2 | # | |
3 | # Perform sanity checks on documentation and build it. | |
4 | # | |
5 | ||
6 | set -e | |
7 | ||
8 | make check-builtins | |
9 | make check-docs | |
b98712b9 | 10 | |
159e6010 LS |
11 | # Build docs with AsciiDoc |
12 | make doc | |
b98712b9 LS |
13 | test -s Documentation/git.html |
14 | test -s Documentation/git.xml | |
15 | test -s Documentation/git.1 | |
159e6010 LS |
16 | grep '<meta name="generator" content="AsciiDoc ' Documentation/git.html |
17 | ||
18 | # Build docs with AsciiDoctor | |
19 | make clean | |
20 | make USE_ASCIIDOCTOR=1 doc | |
21 | test -s Documentation/git.html | |
22 | grep '<meta name="generator" content="Asciidoctor ' Documentation/git.html |