From 20e463128f30ac7679a426494bdff7af189b6c87 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Wed, 26 Aug 2015 20:44:22 +0200 Subject: [PATCH] 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 371fced51..6201bbb76 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)