diff options
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-x | scripts/build.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 5a615ae..f820ade 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -21,6 +21,7 @@ usage() { echo " and build them as shared libaries" echo " cross use cross toolchain to build" echo " coverage build coverage report" + echo " docs build documentation" echo "" echo "configs with muon:" echo " [default] minimal static build" @@ -110,6 +111,13 @@ config_meson_coverage() { "${BUILDDIR}" } +config_meson_docs() { + CC="${CC}" "${MESON}" setup \ + -Ddocs=all \ + -Ddocs-build=true \ + "${BUILDDIR}" +} + build_meson() { "${MESON}" compile \ -C "${BUILDDIR}" |