From f2d02050d12bf601584dbadb50acf623c9aef2a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Tue, 13 Dec 2022 12:48:56 +0100 Subject: [PATCH 1/2] d/rules: Fix nodoc build profile usage We were checking for the wrong option --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index f9fc8a8..23f677e 100755 --- a/debian/rules +++ b/debian/rules @@ -2,8 +2,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all -ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES))) -CONFIGURE_OPTS = -Dgtk_doc=true -Dman=true +ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) + CONFIGURE_OPTS = -Dgtk_doc=true -Dman=true endif %: 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 2/2] 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 %: