[Python-modules-commits] [python-agate-dbf] 02/04: Build the docs using the upstream Makefile

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Jul 25 22:36:18 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-agate-dbf.

commit 209703c0086d2259b30e5e47cf08c1d53ee8f028
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Jul 19 13:03:57 2017 +0100

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

diff --git a/debian/python-agatedbf-doc.docs b/debian/python-agatedbf-doc.docs
index 6d28621..4ecc793 100644
--- a/debian/python-agatedbf-doc.docs
+++ b/debian/python-agatedbf-doc.docs
@@ -1 +1 @@
-build/html
+docs/_build/html
diff --git a/debian/rules b/debian/rules
index 445228b..b3929e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,10 +14,16 @@ endif
 %:
 	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/python-agate-dbf.git



More information about the Python-modules-commits mailing list