[Pkg-cmake-commits] [cmake] 01/02: Use filter to detect the build profile.

Felix Geyer fgeyer at moszumanska.debian.org
Wed Aug 26 18:46:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

fgeyer pushed a commit to branch experimental
in repository cmake.

commit 20e463128f30ac7679a426494bdff7af189b6c87
Author: Felix Geyer <fgeyer at debian.org>
Date:   Wed Aug 26 20:44:22 2015 +0200

    Use filter to detect the build profile.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 371fced..6201bbb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,7 +29,7 @@ $(BUILD_FLAGS_FILE) verify-build-flags:
 	$(call $(flag_action),CMAKE_CXX_FLAGS,"$(CXXFLAGS)","C++ flags")
 	$(call $(flag_action),CMAKE_SKIP_BOOTSTRAP_TEST,ON,"Skip BootstrapTest")
 	$(call $(flag_action),BUILD_CursesDialog,ON,"Build curses GUI")
-ifeq (,$(findstring stage1,$(DEB_BUILD_PROFILES)))
+ifneq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
 	$(call $(flag_action),BUILD_QtDialog,ON,"Build Qt GUI")
 endif
 #	$(call $(flag_action),BUILD_DOCUMENTATION,ON)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cmake/cmake.git



More information about the Pkg-cmake-commits mailing list