Set correct PYTHONPATH for docs build

This commit is contained in:
Miro Hrončok 2018-06-05 21:25:00 +02:00
parent 25ac1cdc38
commit f04f7c2254
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ py.test provides simple, yet powerful testing for Python.
%if %{with docs}
for l in doc/* ; do
make -C $l html PYTHONPATH=$(pwd) SPHINXBUILD=%{_bindir}/sphinx-build-3
make -C $l html PYTHONPATH=$(pwd)/src SPHINXBUILD=%{_bindir}/sphinx-build-3
done
for f in README CHANGELOG CONTRIBUTING ; do
rst2html ${f}.rst > ${f}.html