summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ba3ca24)
raw | patch | inline | side by side (parent: ba3ca24)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 27 Dec 2009 17:59:18 +0000 (18:59 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 27 Dec 2009 17:59:18 +0000 (18:59 +0100) |
… unless the nocheck option has been specified in DEB_BUILD_OPTIONS.
debian/changelog | patch | blob | history | |
debian/rules | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index 9eaf760ca042c5605f34d17d2699dfe73603254f..2fc35d043e55c04c85207dd1ecf3f7357b70a455 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
* 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 <tokkee@debian.org> Sun, 27 Dec 2009 18:55:35 +0100
+ -- Sebastian Harl <tokkee@debian.org> Sun, 27 Dec 2009 18:58:55 +0100
ncmpc (0.15-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index 9296d1515d69ec46b4f40a81b853f5fca5c2c0e1..c77ceda48e3681e47e6e3cd5dec861ec315b9672 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
CFLAGS += -O2
endif
+CHECK = check
+
+ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ CHECK =
+endif
+
config.status: configure
dh_testdir
./configure --host=$(DEB_HOST_GNU_TYPE) \
dh_testdir
$(MAKE)
+ test -z '$(CHECK)' || make $(CHECK)
touch build-stamp