[clblas] 03/10: add documentation package

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri May 29 19:08:41 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 clblas.

commit 1b5549d29b4e18219fa9ef5b2f5cbb35808026fc
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri May 29 17:22:44 2015 +0100

    add documentation package
---
 debian/control                                 | 22 +++++++++++-----------
 debian/libclblas-doc.docs                      |  1 +
 debian/patches/0002-fix-doxygen-settings.patch | 20 ++++++++++++++++++++
 debian/patches/series                          |  1 +
 debian/rules                                   |  1 +
 5 files changed, 34 insertions(+), 11 deletions(-)

diff --git a/debian/control b/debian/control
index fc23678..d5e8559 100644
--- a/debian/control
+++ b/debian/control
@@ -39,17 +39,17 @@ Description: OpenCL BLAS library (development files)
  .
  This package provides the clBLAS development files.
 
-#Package: libclblas-doc
-#Section: doc
-#Architecture: all
-#Depends: ${misc:Depends},
-#         libjs-mathjax
-#Description: OpenCL BLAS library (documentation)
-# This library provides an implementation of the Basic Linear Algebra 
-# Subprograms levels 1, 2 and 3, using OpenCL and optimized for AMD GPU 
-# hardware.
-# .
-# This package provides the clBLAS documentation.
+Package: libclblas-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends},
+         libjs-mathjax
+Description: OpenCL BLAS library (documentation)
+ This library provides an implementation of the Basic Linear Algebra 
+ Subprograms levels 1, 2 and 3, using OpenCL and optimized for AMD GPU 
+ hardware.
+ .
+ This package provides the clBLAS documentation.
 
 Package: libclblas2
 Section: libs
diff --git a/debian/libclblas-doc.docs b/debian/libclblas-doc.docs
new file mode 100644
index 0000000..0bd3136
--- /dev/null
+++ b/debian/libclblas-doc.docs
@@ -0,0 +1 @@
+doc/html
diff --git a/debian/patches/0002-fix-doxygen-settings.patch b/debian/patches/0002-fix-doxygen-settings.patch
new file mode 100644
index 0000000..1ff2dd2
--- /dev/null
+++ b/debian/patches/0002-fix-doxygen-settings.patch
@@ -0,0 +1,20 @@
+--- a/doc/clBLAS.doxy
++++ b/doc/clBLAS.doxy
+@@ -52,7 +52,7 @@
+ # If a relative path is entered, it will be relative to the location 
+ # where doxygen was started. If left blank the current directory will be used.
+ 
+-OUTPUT_DIRECTORY       = ..\..\bin\clBLAS.doxy
++OUTPUT_DIRECTORY       = 
+ 
+ # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 
+ # 4096 sub-directories (in 2 levels) under the output directory of each output 
+@@ -1223,7 +1223,7 @@
+ # installing MathJax.  However, it is strongly recommended to install a local 
+ # copy of MathJax from http://www.mathjax.org before deployment.
+ 
+-MATHJAX_RELPATH        = http://www.mathjax.org/mathjax
++MATHJAX_RELPATH        = /usr/share/javascript/mathjax
+ 
+ # The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension 
+ # names that should be enabled during MathJax rendering.
diff --git a/debian/patches/series b/debian/patches/series
index f4d1722..ecfe43c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-enable-multiarch.patch
+0002-fix-doxygen-settings.patch
diff --git a/debian/rules b/debian/rules
index a795700..0c7a2de 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,4 +23,5 @@ override_dh_auto_configure:
 		-DBUILD_CLIENT=ON \
 		-DBUILD_KTEST=OFF \
 		-DBUILD_SHARED_LIBS=ON
+	echo "I: Generating Doxygen documentation"
 	cd doc/ && doxygen clBLAS.doxy

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



More information about the debian-science-commits mailing list