[xtensor] 05/06: Use DEB_BUILD_OPTIONS for the nocheck and nodoc guards

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 8e2a8a3077cb579d3b73ee3abdaa5407b802b007
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri Sep 22 17:12:27 2017 +0100

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

diff --git a/debian/rules b/debian/rules
index afdf0e4..d9eac0d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
 
 BUILD_OPTIONS=-DCMAKE_INSTALL_LIBDIR="lib"
 
-ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 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 (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	$(MAKE) -C docs clean
 endif
 
@@ -26,12 +26,12 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	dh_auto_build
-ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
 	$(MAKE) -C docs html
 endif
 
 override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	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