Commit de85d2fd33166642a1bedfa9c45ee27356242e82
1 parent
69059051
Add sphinx and doc rule for sphinx code building and Doxygen + sphinx code building.
Showing
1 changed file
with
11 additions
and
0 deletions
Makefile.am
| ... | ... | @@ -96,6 +96,17 @@ valgrind: |
| 96 | 96 | echo "valgrind not found in PATH."; \ |
| 97 | 97 | fi |
| 98 | 98 | |
| 99 | +# Add Sphinx rule | |
| 100 | +sphinx: | |
| 101 | + @if type sphinx-build >/dev/null 2>&1; then \ | |
| 102 | + sphinx-build -b html doc/source doc/build; \ | |
| 103 | + else \ | |
| 104 | + echo "sphinx-build not found in PATH."; \ | |
| 105 | + fi | |
| 106 | + | |
| 107 | +# Add documentation rule: | |
| 108 | +doc: doxygen sphinx | |
| 109 | + | |
| 99 | 110 | # Add Doxygen rules |
| 100 | 111 | if DX_COND_doc |
| 101 | 112 | ... | ... |