Commit 9c6a77ed authored by Dmitry Shachnev's avatar Dmitry Shachnev

Fix sphinx-build invocation in debian/rules.

The previous version was failing because it was searching for sample.py
in the wrong directory (parent to the build directory).
parent d255b5ed
......@@ -14,6 +14,7 @@ sphinx-argparse (0.2.2-1) UNRELEASED; urgency=medium
[ Dmitry Shachnev ]
* Remove usage of Markdown options in docs/markdown.rst. Upstream code for
Markdown requires CommonMark 0.5.6, which is not yet in Debian.
* Fix sphinx-build invocation in debian/rules.
-- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Sun, 02 Jul 2017 20:56:18 +0800
......
......@@ -9,8 +9,7 @@ override_dh_auto_test:
PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x" dh_auto_test
override_dh_installdocs:
PYTHONPATH=. sphinx-build -N -bhtml docs/ ./debian/python-sphinx-argparse/usr/share/doc/python-sphinx-argparse/html/
PYTHONPATH=. sphinx-build -N -bhtml docs/ ./debian/python3-sphinx-argparse/usr/share/doc/python3-sphinx-argparse/html/
cd docs && PYTHONPATH=$(CURDIR) sphinx-build -N -bhtml . html
dh_installdocs
override_dh_installchangelogs:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment