[asl] 21/27: Drop build of unused examples and tests.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sat Nov 26 16:35:44 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/master
in repository asl.

commit 0d8c0d416fca11319aa2869674d6d35f8926da0e
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Nov 23 10:53:21 2016 +0000

    Drop build of unused examples and tests.
---
 debian/rules | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/debian/rules b/debian/rules
index 53d6cd1..8fabaa6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,13 +11,9 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 BUILD_OPTIONS = \
 	-DBUILD_SHARED_LIBS=ON \
 	-DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_TARGET_MULTIARCH)" \
-	-DWITH_MATIO=ON
-
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-BUILD_OPTIONS += -DWITH_EXAMPLES=ON -DWITH_TESTS=ON
-else
-BUILD_OPTIONS += -DWITH_EXAMPLES=OFF -DWITH_TESTS=OFF
-endif
+	-DWITH_EXAMPLES=OFF \
+	-DWITH_MATIO=ON \
+	-DWITH_TESTS=OFF
 
 %:
 	dh $@
@@ -28,9 +24,6 @@ override_dh_auto_configure-arch:
 override_dh_auto_configure-indep:
 	dh_auto_configure -- $(BUILD_OPTIONS) -DWITH_API_DOC=ON
 
-override_dh_auto_test:
-	# No-op.
-
 override_dh_installdocs-indep:
 	dh_installdocs --indep
 	dh_doxygen --indep

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/asl.git



More information about the debian-science-commits mailing list