diff --git a/debian/rules b/debian/rules index f9fc8a8..e32ed5b 100755 --- a/debian/rules +++ b/debian/rules @@ -2,8 +2,12 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all -ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES))) -CONFIGURE_OPTS = -Dgtk_doc=true -Dman=true +ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + CONFIGURE_OPTS += -Dtests=false +endif + +ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) + CONFIGURE_OPTS += -Dgtk_doc=true -Dman=true endif %: