From c407c04cb52c155b26b5518312028e7571f6be25 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 27 Dec 2009 18:59:18 +0100 Subject: [PATCH] rules: Run 'make check'. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit … unless the nocheck option has been specified in DEB_BUILD_OPTIONS. --- debian/changelog | 5 ++++- debian/rules | 7 +++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 9eaf760..2fc35d0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,11 @@ ncmpc (0.16-1) unstable; urgency=low * New upstream release. * debian/control: - Build-depend on libmpdclient-dev, required by the new upstream release. + * debian/rules: + - Run 'make check' unless the nocheck option has been specified in + DEB_BUILD_OPTIONS. - -- Sebastian Harl Sun, 27 Dec 2009 18:55:35 +0100 + -- Sebastian Harl Sun, 27 Dec 2009 18:58:55 +0100 ncmpc (0.15-1) unstable; urgency=low diff --git a/debian/rules b/debian/rules index 9296d15..c77ceda 100755 --- a/debian/rules +++ b/debian/rules @@ -19,6 +19,12 @@ else CFLAGS += -O2 endif +CHECK = check + +ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) + CHECK = +endif + config.status: configure dh_testdir ./configure --host=$(DEB_HOST_GNU_TYPE) \ @@ -48,6 +54,7 @@ build-stamp: config.status dh_testdir $(MAKE) + test -z '$(CHECK)' || make $(CHECK) touch build-stamp -- 2.30.2