From: Michael Prokop Date: Thu, 24 Jan 2019 08:45:24 +0000 (+0100) Subject: debian/rules: support nocheck in DEB_BUILD_OPTIONS X-Git-Tag: v0.87~2 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=3929d57929a21be7a461236ebe49f45955380ee7 debian/rules: support nocheck in DEB_BUILD_OPTIONS Spotted by lintian (see tag override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS) --- diff --git a/debian/rules b/debian/rules index ba75826..17ee334 100755 --- a/debian/rules +++ b/debian/rules @@ -12,8 +12,8 @@ %: dh $@ +ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) override_dh_auto_test: (cd tests && ./run_tests.sh) make shellcheck - make - +endif