[med-svn] [nanocall] 02/06: Use recommended CMake options

Andreas Tille tille at debian.org
Wed Sep 14 13:07:53 UTC 2016


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

tille pushed a commit to branch master
in repository nanocall.

commit 9b6291c2d9aa9650d4578952305db1be171acaa0
Author: Andreas Tille <tille at debian.org>
Date:   Wed Sep 14 14:58:07 2016 +0200

    Use recommended CMake options
---
 debian/rules | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/debian/rules b/debian/rules
index ad618bb..05caa4b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,6 @@
 #!/usr/bin/make -f
 
 # DH_VERBOSE := 1
-export LC_ALL=C.UTF-8
 
 # some helpful variables - uncomment them if needed
 # shamelessly stolen from http://jmtd.net/log/awk/
@@ -12,12 +11,8 @@ export LC_ALL=C.UTF-8
 #DEBIAN_BRANCH  := $(shell awk 'BEGIN{FS="[= ]+"} /debian-branch/ {print $$2}' debian/gbp.conf)
 #GIT_TAG        := $(subst ~,_,$(VERSION))
 
-# alternatively to manually set those variables, you can
-#  include /usr/share/dpkg/default.mk
-# and use what is set there.
-
-# for hardening you might like to uncomment this:
-# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-
 %:
 	dh $@ --sourcedirectory=src
+
+override_dh_auto_configure:
+	dh_auto_configure -- -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_HDF5=0 -DHDF5_ROOT=/usr

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/nanocall.git



More information about the debian-med-commit mailing list