[SCM] Eigen2 packaging branch, master, updated. debian/2.0.15-1-22-g6717b35

Anton Gladky gladky-anton-guest at alioth.debian.org
Sun May 29 21:04:59 UTC 2011


The following commit has been merged in the master branch:
commit be3b7faaeb71e896bf6e166170b9e2ed16a89206
Author: Anton Gladky <gladky.anton at gmail.com>
Date:   Sun May 29 22:18:47 2011 +0200

    Some more changes in debian/rules
---
 debian/rules |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 02521d4..49aaed0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,13 @@ BUILDDIR = $(CURDIR)/debian/build
 %:
 	dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR)
 
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	extra_flags += -DEIGEN_BUILD_TESTS=ON
+endif
+
 override_dh_auto_configure:
-	dh_auto_configure -- -DEIGEN_BUILD_TESTS=ON
+	dh_auto_configure -- $(extra_flags)
+
 override_dh_installchangelogs:
 	dh_installchangelogs debian/Changelog_upstream
 
@@ -13,8 +18,8 @@ override_dh_auto_test:
 	echo -- Running tests. Even if one of them fails the build is not canceled.
 	-cat /proc/meminfo
 	-cat /proc/cpuinfo
-	dh_auto_build 
 	dh_auto_test || true
 
 override_dh_auto_build:
+	dh_auto_build
 	dh_auto_build -- doc

-- 
Eigen2 packaging



More information about the pkg-kde-commits mailing list