From 5b4170782422dbb7b2087fb85db5cdc98632a5f5 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 27 Dec 2009 00:10:23 +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 e364a5d..69eefc0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,11 @@ libmpdclient (2.1-1) unstable; urgency=low * New upstream release. * debian/libmpdclient2.symbols: - Updated for 2.1. + * debian/rules: + - Run 'make check' unless the nocheck option has been specified in + DEB_BUILD_OPTIONS. - -- Sebastian Harl Sun, 27 Dec 2009 00:02:12 +0100 + -- Sebastian Harl Sun, 27 Dec 2009 00:09:08 +0100 libmpdclient (2.0-1) unstable; urgency=low diff --git a/debian/rules b/debian/rules index 79ee1bc..8be3e2b 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 @@ -35,6 +41,7 @@ build-stamp: config.status dh_testdir $(MAKE) + test -z '$(CHECK)' || make $(CHECK) touch build-stamp -- 2.30.2