[Python-modules-commits] [python-django-treebeard] 15/17: Call sphinx-build directly to build documentation.

Michael Fladischer fladi at moszumanska.debian.org
Sat Jan 2 18:39:24 UTC 2016


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

fladi pushed a commit to branch master
in repository python-django-treebeard.

commit 549c127909e746349fa9e4f00cb49baf6532e72a
Author: Michael Fladischer <fladi at debian.org>
Date:   Sat Jan 2 19:20:17 2016 +0100

    Call sphinx-build directly to build documentation.
---
 debian/python-django-treebeard-doc.docs | 2 +-
 debian/rules                            | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/python-django-treebeard-doc.docs b/debian/python-django-treebeard-doc.docs
index 4ecc793..2981a3c 100644
--- a/debian/python-django-treebeard-doc.docs
+++ b/debian/python-django-treebeard-doc.docs
@@ -1 +1 @@
-docs/_build/html
+docs/.build/html
diff --git a/debian/rules b/debian/rules
index f3a047b..4214dbf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,12 +6,12 @@ export PYBUILD_NAME=django-treebeard
 	dh $@ --with=python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_clean:
+	rm -rf docs/.build
 	dh_auto_clean
-	make -C docs clean
 
 override_dh_auto_build:
 	dh_auto_build
-	PYTHONPATH=.. DJANGO_SETTINGS_MODULE=treebeard make -C docs html
+	PYTHONPATH=. sphinx-build -b html -d docs/.build/doctrees docs docs/.build/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-django-treebeard.git



More information about the Python-modules-commits mailing list