]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3800] Fix sphinx+pdflatex check on Sphinx 8.1.3+
authorAndrei Pavel <andrei@isc.org>
Wed, 9 Jul 2025 19:00:32 +0000 (22:00 +0300)
committerAndrei Pavel <andrei@isc.org>
Wed, 9 Jul 2025 19:00:32 +0000 (22:00 +0300)
configure.ac

index 21f1a2fe9b64635875457d31a77f7e2124a7f15a..acf25e660065ae28a8763170bc316cae2160f499 100644 (file)
@@ -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