summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-08-17 18:14:27 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-08-17 18:14:27 +0200
commit178dd062eeaa1d7e56770455e005dc27aa71f026 (patch)
tree0dd7241e4fa9a06090d5cd8da4c7de87065ba08b /debian/rules
parentec78b277382e27509a6dec91af4a7a524a422e0f (diff)
parentfe268128119bc73403003a29b66c927b9c36690d (diff)
merged lp:~donkult/apt/sid
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 640900678..d6c2dfa22 100755
--- a/debian/rules
+++ b/debian/rules
@@ -97,6 +97,11 @@ build/configure-stamp: configure
build/build-stamp: build/configure-stamp
# Add here commands to compile the package.
$(MAKE) binary
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+ $(MAKE) test
+else
+ @echo "Tests DISABLED"
+endif
touch $@
build/build-doc-stamp: build/configure-stamp