diff --git a/meson.build b/meson.build index 1d9dbaab2a2165e2e4d9d87ccde1511d8e27ac3e..9d88e818a7fa28bbd11d8d88b11c32c35d9bd2b0 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 4aee4fd416aa9707725fd5d61190b3a7c0e6cfc6..4363e2e0c217e073cfc9d4684ab4c89d9cce56b0 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