[Python-modules-commits] [python-prov] 04/14: Build the docs using the upstream Makefile

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jul 18 09:39:58 UTC 2017


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

ghisvail-guest pushed a commit to branch master
in repository python-prov.

commit 59e603e2df8eaa665d386555f632c14222aa91d7
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Jul 18 09:23:54 2017 +0100

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

diff --git a/debian/python-prov-doc.docs b/debian/python-prov-doc.docs
index 6d28621..4ecc793 100644
--- a/debian/python-prov-doc.docs
+++ b/debian/python-prov-doc.docs
@@ -1 +1 @@
-build/html
+docs/_build/html
diff --git a/debian/rules b/debian/rules
index 9ec5c62..3a2242a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,11 +10,15 @@ export PYBUILD_AFTER_INSTALL_python2 = rm -rf {destdir}/usr/bin
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
+override_dh_auto_clean:
+	dh_auto_clean
+	$(MAKE) -C docs clean
+
 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
-	PYTHONPATH=. sphinx-build -N -b html docs build/html
+	PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
 
 override_dh_auto_install:
 	dh_auto_install

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



More information about the Python-modules-commits mailing list