commit f77cd3909f22f66e2aa052076191f46e9eb93cd3
parent b4a0a1d0f5e564901bc492f2a5fda4335fb23035
Author: Florian Dold <dold@taler.net>
Date: Mon, 7 Sep 2026 22:04:10 +0200
exchange CI: generate full documentation through Meson
Use the Meson Doxygen target so the version metadata is generated before
Doxygen runs. Make the helper generate full documentation by default,
retain fast mode and propagate command failures.
Diffstat:
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/contrib/ci/jobs/003-docs/docs.sh b/contrib/ci/jobs/003-docs/docs.sh
@@ -4,8 +4,4 @@ set -exuo pipefail
./bootstrap
./configure --enable-only-doc
-pushd ./doc/doxygen/
-
-make full
-
-popd
+make doxygen
diff --git a/scripts/doxygen.meson.sh b/scripts/doxygen.meson.sh
@@ -1,4 +1,5 @@
#!/bin/sh
+set -eu
# This is more portable than `which' but comes with
# the caveat of not(?) properly working on busybox's ash:
@@ -14,11 +15,11 @@ then
fi
cd "${MESON_SOURCE_ROOT}/doc/doxygen"
echo "PROJECT_NUMBER = ${PACKAGE_VERSION}" > version.doxy
-if [ "$1" = "fast" ]
+if [ "${1:-full}" = "fast" ]
then
make fast
else
- make all
+ make full
fi
echo "Doxygen files generated into ${MESON_SOURCE_ROOT}/doc/doxygen!"