Commit ebf5356a authored by Mohammed Sadiq's avatar Mohammed Sadiq
Browse files

d/rules: Disable building tests if 'nocheck' set

Not building tests reduces the binaries to build by more than half
parent 7a1cbe12
......@@ -10,6 +10,12 @@ else
CONFIGURE_OPTS+=-Dgtk_doc=false
endif
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
CONFIGURE_OPTS+=-Dtests=true
else
CONFIGURE_OPTS+=-Dtests=false
endif
%:
dh $@ --builddirectory=_build
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment