From c26eaa88b7a6b39a2848be6ce9c017959879c568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Tue, 13 Dec 2022 12:49:57 +0100 Subject: [PATCH] d/rules: Don't build tests with nocheck --- debian/rules | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 23f677e..e32ed5b 100755 --- a/debian/rules +++ b/debian/rules @@ -2,8 +2,12 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all +ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + CONFIGURE_OPTS += -Dtests=false +endif + ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) - CONFIGURE_OPTS = -Dgtk_doc=true -Dman=true + CONFIGURE_OPTS += -Dgtk_doc=true -Dman=true endif %: