]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Update mkrel for SPHINX_ARGS
authorTom Yu <tlyu@mit.edu>
Thu, 13 Dec 2012 01:19:17 +0000 (20:19 -0500)
committerTom Yu <tlyu@mit.edu>
Thu, 13 Dec 2012 01:29:55 +0000 (20:29 -0500)
Update mkrel so that it will explicitly set SPHINX_ARGS=-W to make
warnings fatal and so that it will work in an unconfigured tree.

ticket: 7497 (new)
target_version: 1.11
tags: pullup

src/util/mkrel

index a8de50b5ddfea5ed78589f6ef9205cdb61e31d7f..a1c0d360998022bedcab827317fa6b1c262c9293 100755 (executable)
@@ -186,9 +186,9 @@ rm -rf $reldir/.git || true
 if test $dodoc = t; then
        echo "Building doc..."
        (cd $reldir/src/doc && make -f Makefile.in \
-           top_srcdir=.. srcdir=. PYTHON=python html pdf)
+           top_srcdir=.. srcdir=. SPHINX_ARGS=-W PYTHON=python html pdf)
        (cd $reldir/src/doc && make -f Makefile.in \
-           top_srcdir=.. srcdir=. PYTHON=python clean)
+           top_srcdir=.. srcdir=. SPHINX_ARGS=-W PYTHON=python clean)
 fi
 
 echo "Generating tarfiles..."