[compute] 01/03: Install HTML documentation to doc package.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Thu Dec 3 12:10:54 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 compute.
commit 16786d05e4728f3ce24a36258c51094f266c5b66
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Thu Dec 3 10:46:17 2015 +0000
Install HTML documentation to doc package.
---
debian/control | 7 ++++++-
debian/libcompute-doc.doc-base | 9 +++++++++
debian/libcompute-doc.install | 1 +
debian/rules | 11 +++++++++++
4 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index a722e5e..51400c7 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,13 @@ Testsuite: autopkgtest
Priority: optional
Build-Depends: cmake,
debhelper (>= 9),
+ docbook-xml,
+ docbook-xsl,
+ doxygen,
libboost-dev (>= 1.48),
- ocl-icd-opencl-dev | opencl-dev
+ libboost-tools-dev,
+ ocl-icd-opencl-dev | opencl-dev,
+ xsltproc
Standards-Version: 3.9.6
Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/compute.git
Vcs-Git: git://anonscm.debian.org/debian-science/packages/compute.git
diff --git a/debian/libcompute-doc.doc-base b/debian/libcompute-doc.doc-base
new file mode 100644
index 0000000..3c79c10
--- /dev/null
+++ b/debian/libcompute-doc.doc-base
@@ -0,0 +1,9 @@
+Document: libcompute-doc
+Title: Boost.Compute Documentation
+Author: Kyle Lutz
+Abstract: This documentation describes the Boost.Compute library API.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libcompute-doc/html/index.html
+Files: /usr/share/doc/libcompute-doc/html/*.html
diff --git a/debian/libcompute-doc.install b/debian/libcompute-doc.install
index 14a7928..e9fd74a 100644
--- a/debian/libcompute-doc.install
+++ b/debian/libcompute-doc.install
@@ -1 +1,2 @@
+doc/html usr/share/doc/libcompute-doc
example/*.cpp usr/share/doc/libcompute-doc/examples
diff --git a/debian/rules b/debian/rules
index 202ffd2..b2f096b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,11 +7,22 @@
%:
dh $@
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -rf bin doc/bin doc/html
+ rm -f doc/*.jam doc/*.xml
+
override_dh_auto_configure:
dh_auto_configure -- \
-DBOOST_COMPUTE_BUILD_BENCHMARKS=OFF \
-DBOOST_COMPUTE_BUILD_EXAMPLES=OFF \
-DBOOST_COMPUTE_BUILD_TESTS=OFF
+override_dh_auto_build:
+ dh_auto_build
+ cd doc && \
+ printf "using boostbook ;\nusing quickbook ;\nusing doxygen ;" >> ./user-config.jam && \
+ bjam --v2 --user-config=./user-config.jam html
+
override_dh_compress:
dh_compress --exclude=examples
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/compute.git
More information about the debian-science-commits
mailing list