[PATCH] Add support for nocheck in DEB_BUILD_OPTIONS
Matthew W. S. Bell
matthew at bells23.org.uk
Sun Apr 26 03:34:30 UTC 2009
From: Matthew W. S. Bell <mentor at engelbert.(none)>
Signed-off-by: Matthew W. S. Bell <matthew at bells23.org.uk>
---
debian/rules | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/debian/rules b/debian/rules
index 2ee96ce..c5d64a1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,9 @@
# Copyright © 2008 martin f. krafft <madduck at debian.org>
# You may use this file in accordance with the terms of the GPLv2.
#
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ BUILD_TARGETS += test
+endif
configure: configure-stamp
configure-stamp:
@@ -17,7 +20,7 @@ test-stamp: configure-stamp
touch $@
build: build-stamp
-build-stamp: test-stamp
+build-stamp: $(BUILD_TARGETS)
dh_testdir
python setup.py build
touch $@
--
1.6.2.4
More information about the netconf-devel
mailing list