[python-pymeasure] 03/05: Replace occurrences of findstring with filter
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun Sep 24 17:53:01 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 af80675a5e7a4ccbd56354b654eab47b1c15500b
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Sun Sep 24 18:37:02 2017 +0100
Replace occurrences of findstring with filter
---
debian/rules | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 5ffa8f5..e09e272 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_OPTIONS)))
+ifeq (,$(filter 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_OPTIONS)))
+ifeq (,$(filter 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