Skip to content

Commit

Permalink
In mkrel, build documentation with python3
Browse files Browse the repository at this point in the history
After commit 9583023, the
documentation cannot be built with Python 2.  Run make with
"PYTHON=python3" to ensure that we use Python 3.
  • Loading branch information
greghudson committed Dec 11, 2019
1 parent 02b3171 commit 17b40b1
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 @@ -183,9 +183,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=. SPHINX_ARGS=-W PYTHON=python html pdf)
top_srcdir=.. srcdir=. SPHINX_ARGS=-W PYTHON=python3 html pdf)
(cd $reldir/src/doc && make -f Makefile.in \
top_srcdir=.. srcdir=. SPHINX_ARGS=-W PYTHON=python clean)
top_srcdir=.. srcdir=. SPHINX_ARGS=-W PYTHON=python3 clean)
fi

echo "Generating tarfiles..."
Expand Down

0 comments on commit 17b40b1

Please sign in to comment.