From: Andrei Pavel Date: Wed, 9 Jul 2025 19:00:32 +0000 (+0300) Subject: [#3800] Fix sphinx+pdflatex check on Sphinx 8.1.3+ X-Git-Tag: Kea-2.6.4~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea0145104fb2fd5d97269859c3c97ed2863dffcb;p=thirdparty%2Fkea.git [#3800] Fix sphinx+pdflatex check on Sphinx 8.1.3+ --- diff --git a/configure.ac b/configure.ac index 21f1a2fe9b..acf25e6600 100644 --- a/configure.ac +++ b/configure.ac @@ -1347,11 +1347,11 @@ if test "x$enable_generate_docs" != xno ; then to=`mktemp -d` oldpath=`pwd` echo 'hello' > $ti/contents.rst - $SPHINXBUILD -b latex -C $ti $to > /dev/null 2>&1 + $SPHINXBUILD -b latex -D 'project=kea' -C $ti $to > /dev/null 2>&1 cd $to > /dev/null 2>&1 - $PDFLATEX -interaction nonstopmode [[pP]]ython.tex > /dev/null 2>&1 + $PDFLATEX -interaction nonstopmode kea.tex > /dev/null 2>&1 cd $oldpath > /dev/null 2>&1 - file $to/[[pP]]ython.pdf | grep PDF > /dev/null 2>&1 + file $to/kea.pdf | grep PDF > /dev/null 2>&1 if test $? -ne 0 ; then AC_MSG_RESULT([no - disabled building docs in PDF]) PDFLATEX=no