This is an automated email from the git hooks/post-receive script. afif-guest pushed a commit to branch master in repository python-pbcore.
commit 01ef5ef77b94d114818320be512d5899e0297d01 Author: Afif Elghraoui <a...@ghraoui.name> Date: Sun Jun 7 16:41:38 2015 -0700 Add rules to build documentation Lintian indicated presence of javascript convenience copies in the documentation files. These have been take care of by using symlinks and depending on the relevant javascript packages. --- debian/TODO | 2 -- debian/control | 4 +++- debian/docs | 3 +++ debian/python-pbcore.doc-base | 8 ++++++++ debian/rules | 10 ++++++++++ 5 files changed, 24 insertions(+), 3 deletions(-) diff --git a/debian/TODO b/debian/TODO index 3694c45..c6435f3 100644 --- a/debian/TODO +++ b/debian/TODO @@ -1,3 +1 @@ * The python-pysam package needs to be updated to version 0.8.1. - -* Put documentation in the correct place so that it gets installed. diff --git a/debian/control b/debian/control index 784cbd2..fe8b685 100644 --- a/debian/control +++ b/debian/control @@ -16,7 +16,9 @@ Vcs-Browser: http://anonscm.debian.org/cgit/debian-med/python-pbcore.git Package: python-pbcore Architecture: all Depends: ${misc:Depends}, - ${python:Depends} + ${python:Depends}, + libjs-jquery, + libjs-underscore Description: Python library for processing PacBio data files The pbcore package provides Python modules for processing Pacific Biosciences data files and building PacBio bioinformatics applications. These modules diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..2352e7f --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +LICENSES.txt +README.md +doc/_build/html diff --git a/debian/python-pbcore.doc-base b/debian/python-pbcore.doc-base new file mode 100644 index 0000000..27c6314 --- /dev/null +++ b/debian/python-pbcore.doc-base @@ -0,0 +1,8 @@ +Document: python-pbcore +Title: Pacific Biosciences pbcore API documentation +Author: Pacific Biosciences +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/python-pbcore/html/index.html +Files: /usr/share/doc/python-pbcore/html/*.html diff --git a/debian/rules b/debian/rules index 72f7246..b36be27 100755 --- a/debian/rules +++ b/debian/rules @@ -6,14 +6,24 @@ include /usr/share/dpkg/default.mk # debhelper doesn't appear to define DESTDIR for debian/rules # call it "ROOT" here so it doesn't conflict with DESTDIR (it shouldn't anyway) ROOT=`pwd`/debian/$(DEB_SOURCE) +DOCROOT=$(ROOT)/usr/share/doc/$(DEB_SOURCE) %: dh $@ --with python2 +override_dh_auto_build: + dh_auto_build + $(MAKE) doc + override_dh_fixperms: dh_fixperms chmod -x $(ROOT)/usr/lib/python2.7/dist-packages/pbcore/data/*.h5 +override_dh_installdocs: + dh_installdocs -X.txt -Xjquery.js -Xunderscore.js + ln -s /usr/share/javascript/jquery/jquery.js $(DOCROOT)/html/_static/ + ln -s /usr/share/javascript/underscore/underscore.js $(DOCROOT)/html/_static/ + #get-orig-source: # uscan -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-pbcore.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