[Python-modules-commits] [pytest-qt] 06/09: Build the docs using the upstream Makefile

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Jul 13 09:55:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository pytest-qt.

commit 0ff6a536b686f9446787c786d61dac5a438ff6fb
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Jun 13 19:23:48 2017 +0100

    Build the docs using the upstream Makefile
---
 debian/python-pytestqt-doc.docs | 2 +-
 debian/rules                    | 8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/python-pytestqt-doc.docs b/debian/python-pytestqt-doc.docs
index 6d28621..4ecc793 100644
--- a/debian/python-pytestqt-doc.docs
+++ b/debian/python-pytestqt-doc.docs
@@ -1 +1 @@
-build/html
+docs/_build/html
diff --git a/debian/rules b/debian/rules
index df6bb55..92d57f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,10 +10,16 @@ export PYBUILD_DISABLE = test
 %:
 	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 
+override_dh_auto_clean:
+	dh_auto_clean
+ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+	$(MAKE) -C docs clean
+endif
+
 override_dh_auto_build: export http_proxy=127.0.0.1:9
 override_dh_auto_build: export https_proxy=127.0.0.1:9
 override_dh_auto_build:
 	dh_auto_build
 ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
-	PYTHONPATH=. sphinx-build -N -b html docs build/html
+	PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
 endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pytest-qt.git



More information about the Python-modules-commits mailing list