[python-imageio] 06/07: Build the docs using the upstream Makefile
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun Jun 4 11:05:57 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-imageio.
commit 12ad82bce3cdf76fa5638ef53234d9caf16d3803
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Thu May 25 17:30:25 2017 +0100
Build the docs using the upstream Makefile
---
debian/python-imageio-doc.docs | 2 +-
debian/rules | 8 +++++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/debian/python-imageio-doc.docs b/debian/python-imageio-doc.docs
index 6d28621..4ecc793 100644
--- a/debian/python-imageio-doc.docs
+++ b/debian/python-imageio-doc.docs
@@ -1 +1 @@
-build/html
+docs/_build/html
diff --git a/debian/rules b/debian/rules
index a239fd5..edffcf7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,12 +12,18 @@ endif
%:
dh $@ --with python2,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
- PYTHONPATH=. sphinx-build -N -b html docs build/html
+ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+ PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
endif
override_dh_installchangelogs:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-imageio.git
More information about the debian-science-commits
mailing list