Skip to content

Commit

Permalink
Update mkrel for SPHINX_ARGS
Browse files Browse the repository at this point in the history
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.

(cherry picked from commit 6fbc0e5)

ticket: 7497
version_fixed: 1.11
status: resolved
  • Loading branch information
tlyu committed Dec 13, 2012
1 parent 760bcda commit 5f54ae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/mkrel
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down

0 comments on commit 5f54ae2

Please sign in to comment.