[arrayfire] 13/40: d/rules: cleaner rules
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Fri May 22 10:19:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.
commit 25b447d6740c55a0f726a663b70e51726f7f836f
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Mon May 18 13:10:35 2015 +0100
d/rules: cleaner rules
---
debian/rules | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/debian/rules b/debian/rules
index 51f7291..048307b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,22 +7,13 @@
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
-# see FEATURE AREAS in dpkg-buildflags(1)
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
-# see ENVIRONMENT in dpkg-buildflags(1)
-# package maintainers to append CFLAGS
-#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
-# package maintainers to append LDFLAGS
-#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-
+# package build directory
+BUILDDIR = $(CURDIR)/debian/build
# main packaging script based on dh7 syntax
%:
- dh $@
+ dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --parallel
-# debmake generated override targets
-# This is example for Cmake (See http://bugs.debian.org/641051 )
override_dh_auto_configure:
dh_auto_configure -- \
-DBUILD_TEST=OFF \
@@ -33,3 +24,7 @@ override_dh_auto_configure:
-DBUILD_OPENCL=OFF \
-DBUILD_DOCS=ON \
-DWITH_COVERAGE=OFF
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf $(BUILDDIR)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
More information about the debian-science-commits
mailing list