[h5py] 07/10: Build the docs using the upstream Makefile
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun Sep 3 16:43:30 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository h5py.
commit 31a94bff4548fb2f06f4460dd8533d0ea5f8ab4a
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Sun Sep 3 17:12:41 2017 +0200
Build the docs using the upstream Makefile
---
debian/python-h5py-doc.docs | 2 +-
debian/rules | 7 ++++++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/debian/python-h5py-doc.docs b/debian/python-h5py-doc.docs
index 6d28621..4ecc793 100644
--- a/debian/python-h5py-doc.docs
+++ b/debian/python-h5py-doc.docs
@@ -1 +1 @@
-build/html
+docs/_build/html
diff --git a/debian/rules b/debian/rules
index 267c7d6..bbd98b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,11 +9,16 @@ export PYBUILD_NAME = h5py
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+override_dh_auto_clean-indep:
ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+ $(MAKE) -C docs clean
+endif
+
override_dh_auto_build-indep: export http_proxy=127.0.0.1:9
override_dh_auto_build-indep: export https_proxy=127.0.0.1:9
override_dh_auto_build-indep:
- PYTHONPATH=. sphinx-build -N -b html docs build/html
+ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+ PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
endif
override_dh_python2:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/h5py.git
More information about the debian-science-commits
mailing list