[arrayfire] 04/12: Add example source code to documentation package.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Sun Nov 22 23:46:02 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 af5ab8e27ce57ebcabb9220bcd5dbf6e8e24a675
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Sat Nov 21 15:38:50 2015 +0000
Add example source code to documentation package.
---
debian/control | 5 +++--
debian/libarrayfire-doc.install | 1 +
debian/rules | 7 ++++---
3 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/debian/control b/debian/control
index 2e427f6..3f53778 100644
--- a/debian/control
+++ b/debian/control
@@ -94,7 +94,7 @@ Multi-Arch: foreign
Depends:
libjs-mathjax,
${misc:Depends}
-Description: Common documentation for ArrayFire
+Description: Common documentation and examples for ArrayFire
ArrayFire is a high performance software library for parallel computing
with an easy-to-use API. Its array based function set makes parallel
programming simple.
@@ -105,4 +105,5 @@ Description: Common documentation for ArrayFire
A few lines of code in ArrayFire can replace dozens of lines of parallel
computing code, saving you valuable time and lowering development costs.
.
- This package provides the documentation for the ArrayFire library.
+ This package provides the documentation and example source code for the
+ ArrayFire library.
diff --git a/debian/libarrayfire-doc.install b/debian/libarrayfire-doc.install
index 79967b2..b279dd9 100644
--- a/debian/libarrayfire-doc.install
+++ b/debian/libarrayfire-doc.install
@@ -1 +1,2 @@
usr/share/ArrayFire/doc/* usr/share/doc/libarrayfire-doc/html
+usr/share/ArrayFire/examples/* usr/share/doc/libarrayfire-doc/examples
diff --git a/debian/rules b/debian/rules
index da1066e..9de9c2d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,6 @@ CMAKE_BUILD_OPTIONS = \
-DAF_INSTALL_LIB_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
-DBUILD_CPU=ON \
-DBUILD_CUDA=OFF \
- -DBUILD_EXAMPLES=OFF \
-DBUILD_GRAPHICS=OFF \
-DBUILD_NONFREE=OFF \
-DBUILD_OPENCL=OFF \
@@ -48,10 +47,12 @@ override_dh_auto_clean:
find $(CURDIR) -name "version.h" -delete
override_dh_auto_configure-arch:
- dh_auto_configure -- $(CMAKE_BUILD_OPTIONS) -DBUILD_DOCS=OFF
+ dh_auto_configure -- $(CMAKE_BUILD_OPTIONS) -DBUILD_DOCS=OFF \
+ -DBUILD_EXAMPLES=OFF
override_dh_auto_configure-indep:
- dh_auto_configure -- $(CMAKE_BUILD_OPTIONS) -DBUILD_DOCS=ON
+ dh_auto_configure -- $(CMAKE_BUILD_OPTIONS) -DBUILD_DOCS=ON \
+ -DBUILD_EXAMPLES=ON
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
--
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