[clfft] 14/25: d/rules: use similar rules as clblas

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri May 29 22:01:13 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 clfft.

commit 6523641291b48a9e79233c95d17dd06999a4d4b8
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri May 29 22:29:19 2015 +0100

    d/rules: use similar rules as clblas
---
 debian/rules | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/debian/rules b/debian/rules
index 387abad..e02700e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,21 +1,25 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
 # Uncomment this to turn on verbose mode.
 export DH_VERBOSE=1
 
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-
+# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
 
 %:
-	dh $@ --buildsystem cmake --parallel --sourcedirectory=src --dbg-package=libclfft2-dbg 
-
-override_dh_auto_install:
-	dh_auto_install
-	debian/libclfft2-bin.rename
+	dh $@ --sourcedirectory=src \
+		--buildsystem=cmake \
+		--parallel \
+		--dbg-package=libclfft2-dbg
 
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		-DBUILD_RUNTIME=ON \
+		-DBUILD_CLIENT=ON \
+		-DBUILD_TEST=ON \
+		-DBUILD_LOADLIBRARIES=OFF \
+		-DBUILD_SHARED_LIBRARY=ON
+	echo "I: Generating Doxygen documentation"
+	cd doc/ && doxygen clFFT.doxy && rm html/jquery.js

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



More information about the debian-science-commits mailing list