diff mbox series

[yocto-autobuilder-helper] scripts/run-docs-build: export LATEXMKOPTS to make latexmk silent

Message ID 20260226-docs-silent-latexmk-v1-1-c8aceabe2357@bootlin.com
State New
Headers show
Series [yocto-autobuilder-helper] scripts/run-docs-build: export LATEXMKOPTS to make latexmk silent | expand

Commit Message

Antonin Godard Feb. 26, 2026, 11:56 a.m. UTC
Like what is done in [1], make latexmk silent to drastically reduce the
amount of lines printed on the console. We already have this on
yocto-docs, but since we build old tags on the Autobuilder we would
still have the output for these. Export here so it applies to all
builds.

[1]: https://lore.kernel.org/yocto-docs/20260219-latexmk-quiet-v1-1-acc137bc88b9@bootlin.com/

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
 scripts/run-docs-build | 2 ++
 1 file changed, 2 insertions(+)


---
base-commit: 50c2af6d82e6af4d42d99cee5614212c6cfd272f
change-id: 20260226-docs-silent-latexmk-9806f250a2f2
diff mbox series

Patch

diff --git a/scripts/run-docs-build b/scripts/run-docs-build
index b97f20c..97c5d7a 100755
--- a/scripts/run-docs-build
+++ b/scripts/run-docs-build
@@ -173,6 +173,8 @@  latest_tag=$(./set_versions.py getlatest)
 git reset --hard
 git clean -ffdx
 
+export LATEXMKOPTS="-silent"
+
 for branch in "$ypdocsbranch" dunfell $(git branch --remote --contains "$first_sphinx_commit" --format '%(refname:lstrip=3)') $(git tag --contains "$first_sphinx_commit" --contains "$first_dunfell_sphinx_commit" 'yocto-*'); do
     if [ "$branch" = "HEAD" ]; then
         continue