This is an automated email from the git hooks/post-receive script.

afif-guest pushed a commit to branch master
in repository python-pbh5tools.

commit 933d16b6a915ca04aaa673327b51cfcf1e44d283
Author: Afif Elghraoui <a...@ghraoui.name>
Date:   Thu Aug 13 01:19:25 2015 -0700

    Build documentation package
---
 debian/control                       | 13 +++++++++++++
 debian/python-pbh5tools-doc.doc-base |  8 ++++++++
 debian/python-pbh5tools-doc.install  |  1 +
 debian/rules                         | 11 +++++++++++
 4 files changed, 33 insertions(+)

diff --git a/debian/control b/debian/control
index 22bf174..73dcbd7 100644
--- a/debian/control
+++ b/debian/control
@@ -28,3 +28,16 @@ Description: tools for manipulating HDF5 files produced by 
Pacific Biosciences
  base-call information.
  .
  This package is part of the SMRTAnalysis suite.
+
+Package: python-pbh5tools-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Description: tools for manipulating HDF5 files produced by Pacific Biosciences
+ This package provides functionality for manipulating and extracting data
+ from cmp.h5 and bas.h5 files produced by the Pacific Biosciences sequencers.
+ cmp.h5 files contain alignment information while bas.h5 files contain
+ base-call information.
+ .
+ pbh5tools is part of the SMRTAnalysis suite. This package provides the
+ API documentation
diff --git a/debian/python-pbh5tools-doc.doc-base 
b/debian/python-pbh5tools-doc.doc-base
new file mode 100644
index 0000000..7bc0a25
--- /dev/null
+++ b/debian/python-pbh5tools-doc.doc-base
@@ -0,0 +1,8 @@
+Document: python-pbh5tools
+Title: Pacific Bioscience pbh5tools API documentation
+Author: Pacific Biosciences
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-pbh5tools/html/index.html
+Files: /usr/share/doc/python-pbh5tools/html/*.html
diff --git a/debian/python-pbh5tools-doc.install 
b/debian/python-pbh5tools-doc.install
new file mode 100644
index 0000000..f167709
--- /dev/null
+++ b/debian/python-pbh5tools-doc.install
@@ -0,0 +1 @@
+doc/_build/html        usr/share/doc/python-pbh5tools/
diff --git a/debian/rules b/debian/rules
index 2915bb9..7a76793 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,13 @@ export PYBUILD_NAME = pbh5tools
 %:
        LC_ALL=C.UTF-8 dh $@ --with python2 --buildsystem=pybuild
 
+override_dh_auto_build:
+       dh_auto_build
+       $(MAKE) -C doc html
+# Examples require cram
+#      $(MAKE) example-rendered
+
+
 override_dh_install:
        dh_install
        # We do this here rather than in .install files so that debhelper
@@ -25,3 +32,7 @@ override_dh_auto_test:
        PYBUILD_SYSTEM=custom \
        PYBUILD_TEST_ARGS="{interpreter} setup.py test" \
          dh_auto_test
+
+override_dh_auto_clean:
+       dh_auto_clean
+       $(MAKE) clean

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/debian-med/python-pbh5tools.git

_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to