From: Sebastian Harl Date: Sat, 26 Dec 2009 23:10:23 +0000 (+0100) Subject: rules: Run 'make check'. X-Git-Tag: libmpdclient-2.1-1^0 X-Git-Url: https://git.tokkee.org/?p=pkg-libmpdclient.git;a=commitdiff_plain;h=5b4170782422dbb7b2087fb85db5cdc98632a5f5 rules: Run 'make check'. … unless the nocheck option has been specified in DEB_BUILD_OPTIONS. --- 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