From: Sebastian Harl Date: Sun, 27 Dec 2009 17:59:18 +0000 (+0100) Subject: rules: Run 'make check'. X-Git-Tag: ncmpc-0.16-1~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c407c04cb52c155b26b5518312028e7571f6be25;p=pkg-ncmpc.git rules: Run 'make check'. … unless the nocheck option has been specified in DEB_BUILD_OPTIONS. --- 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