d/rules: Don't build tests with nocheck

This commit is contained in:
Guido Günther
2022-12-15 10:11:05 +00:00
committed by Guido Gunther
parent f2d02050d1
commit c26eaa88b7
+5 -1
View File
@@ -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
%: