[python-pymeasure] 06/09: Add support for the nodoc build option
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Fri Aug 18 16:08:49 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-pymeasure.
commit f34269ec311cfebc38381fa6ecc043f435a85e3d
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Fri Aug 18 16:21:41 2017 +0100
Add support for the nodoc build option
---
debian/rules | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 86c3805..5ffa8f5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ export PYBUILD_NAME=pymeasure
override_dh_auto_clean:
dh_auto_clean
-ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
$(MAKE) -C docs clean
endif
@@ -18,6 +18,6 @@ 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)))
+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/python-pymeasure.git
More information about the debian-science-commits
mailing list