[opengm] 04/14: d/rules: build examples conditionally on nocheck.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun Feb 14 16:25:29 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository opengm.
commit 147d099a176a2ab2c179eedb5e63cb73890e22a0
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Wed Feb 3 10:48:08 2016 +0000
d/rules: build examples conditionally on nocheck.
---
debian/rules | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index 1e19003..9d0215b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,6 @@ export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
# Build options.
BUILD_OPTIONS = \
- -DBUILD_EXAMPLES=OFF \
-DBUILD_TUTORIALS=OFF \
-DBUILD_COMMANDLINE=ON \
-DWITH_BOOST=ON \
@@ -22,9 +21,9 @@ BUILD_OPTIONS = \
# Disable build of testsuite if nocheck is passed.
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- BUILD_OPTIONS += -DBUILD_TESTING=ON
+ BUILD_OPTIONS += -DBUILD_EXAMPLES=ON -DBUILD_TESTING=ON
else
- BUILD_OPTIONS += -DBUILD_TESTING=OFF
+ BUILD_OPTIONS += -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF
endif
%:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opengm.git
More information about the debian-science-commits
mailing list