From af552cef6adb9941285a092751f01c8b9b266d56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Wed, 14 May 2025 16:48:54 +0200 Subject: [PATCH] Build system: warn about missing references when building the manual --- meson.build | 2 +- scripts/sphinx-build-pdf-wrapper | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 1d9dbaab2..9d88e818a 100644 --- a/meson.build +++ b/meson.build @@ -611,7 +611,7 @@ endif dynare_manual_html = custom_target('dynare-manual.html', output : 'dynare-manual.html', input : sphinx_src, - command : [ sphinx_build_exe, '-b', 'html', sphinx_defines, + command : [ sphinx_build_exe, '-n', '-b', 'html', sphinx_defines, '-d', '@PRIVATE_DIR@', meson.current_source_dir() / 'doc/manual/source', '@OUTPUT@' ], diff --git a/scripts/sphinx-build-pdf-wrapper b/scripts/sphinx-build-pdf-wrapper index 4aee4fd41..4363e2e0c 100755 --- a/scripts/sphinx-build-pdf-wrapper +++ b/scripts/sphinx-build-pdf-wrapper @@ -18,7 +18,7 @@ shift 4 # -D options are passed, presumably due to a bug in sphinx-build. # See: https://bugs.debian.org/933347 -"$sphinx_build_exe" -b latex "$@" "$source_dir" "$private_dir" +"$sphinx_build_exe" -n -b latex "$@" "$source_dir" "$private_dir" make -C "$private_dir" all-pdf -- GitLab