[h5py] 08/10: Use DEB_BUILD_OPTIONS for the nodoc guards

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 d71fc973d0006772372ac739da0142001d19f52c
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sun Sep 3 17:13:43 2017 +0200

    Use DEB_BUILD_OPTIONS for the nodoc guards
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index bbd98b9..12ffe72 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,14 +10,14 @@ export PYBUILD_NAME = h5py
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_clean-indep:
-ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
 	$(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:
-ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
 	PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
 endif
 

-- 
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