[xtensor] 04/06: Replace occurrences of findstring with filter
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Fri Sep 22 17:10:59 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/experimental
in repository xtensor.
commit 970ef9cc850d73e4c54f2b4d70695e53662188da
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Fri Sep 22 16:58:51 2017 +0100
Replace occurrences of findstring with filter
---
debian/rules | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index d1a631f..afdf0e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
BUILD_OPTIONS=-DCMAKE_INSTALL_LIBDIR="lib"
-ifeq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
BUILD_OPTIONS+=-DBUILD_TESTS=ON \
-DGTEST_SRC_DIR="/usr/src/googletest"
else
@@ -17,7 +17,7 @@ endif
override_dh_auto_clean:
dh_auto_clean
-ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
$(MAKE) -C docs clean
endif
@@ -26,12 +26,12 @@ override_dh_auto_configure:
override_dh_auto_build:
dh_auto_build
-ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
$(MAKE) -C docs html
endif
override_dh_auto_test:
-ifeq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
dh_auto_test -- xtest
endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/xtensor.git
More information about the debian-science-commits
mailing list