Commit fb451446 authored by Guido Günther's avatar Guido Günther

d/rules: Honor DEB_BUILD_OPTIONS

parent 6829390d
......@@ -8,7 +8,11 @@ override_dh_python2:
dh_python2 -p virtinst usr/share/virt-manager
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
python setup.py test
else
@echo "Checks disabled via DEB_BUILD_OPTIONS"
endif
override_dh_auto_install:
python setup.py --no-update-icon-cache --no-compile-schemas install --force --root=debian/tmp --no-compile -O0
......
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