[med-svn] [macs] 09/12: Commit several changes mainly polishing; use help2man 2 get manpages

Michael Crusoe misterc-guest at moszumanska.debian.org
Sun Oct 4 23:33:02 UTC 2015


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

misterc-guest pushed a commit to annotated tag debian/2.0.9.1-1
in repository macs.

commit 946ad377f17fed884fdd69addf1ba0cca4d98f5a
Author: Andreas Tille <tille at debian.org>
Date:   Wed Dec 19 15:30:40 2012 +0000

    Commit several changes mainly polishing; use help2man 2 get manpages
---
 changelog |  4 ++++
 compat    |  2 +-
 control   |  6 +++---
 rules     | 34 ++++++++++++++++++++++++++++++++++
 4 files changed, 42 insertions(+), 4 deletions(-)

diff --git a/changelog b/changelog
index 384d1d6..d946dbe 100644
--- a/changelog
+++ b/changelog
@@ -4,12 +4,16 @@ macs (2.0.9.1-1) UNRELEASED; urgency=low
     - Adaptations to Debian Med team maintenance
     - X-Python-Version: >=2.7 because build fails
       for Python 2.6
+    - Standards-Version: 3.9.4 (no changes needed)
+    - Priority: optional
   * debian/watch: Removed useless comments
   * debian/README.*: Removed unused dh-make templates
   * debian/copyright: Added some missing information
   * debian/rules:
     - Removed useless dh-make comment
     - use dh_python2
+    - use help2man to create manpages
+  * debhelper 9 (control+compat)
 
  -- Andreas Tille <tille at debian.org>  Thu, 05 Jan 2012 23:25:06 +0100
 
diff --git a/compat b/compat
index 45a4fb7..ec63514 100644
--- a/compat
+++ b/compat
@@ -1 +1 @@
-8
+9
diff --git a/control b/control
index 4bb6eb8..53ccf2e 100644
--- a/control
+++ b/control
@@ -1,13 +1,13 @@
 Source: macs
 Section: science
-Priority: extra
+Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 DM-Upload-Allowed: yes
 Uploaders: Tim Booth <tbooth at ceh.ac.uk>,
  H. Soon Gweon <hyugwe at ceh.ac.uk>,
  Andreas Tille <tille at debian.org>
-Build-Depends: debhelper (>= 8.0.0), cython (>= 0.15), python-dev (>= 2.6)
-Standards-Version: 3.9.2
+Build-Depends: debhelper (>= 9), cython (>= 0.15), python-dev (>= 2.7), help2man
+Standards-Version: 3.9.4
 X-Python-Version: >=2.7
 Homepage: https://github.com/taoliu/MACS/
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/macs/trunk/
diff --git a/rules b/rules
index a5863c1..eff3d76 100755
--- a/rules
+++ b/rules
@@ -5,9 +5,43 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
+version=$(shell dpkg-parsechangelog -ldebian/changelog | grep Version: | cut -f2 -d' ' | cut -f1 -d- )
+mandir=$(CURDIR)/debian/$(pkg)/usr/share/man/man1/
+
 %:
 	dh $@ --with python2
 
 override_dh_auto_clean:
 	dh_auto_clean
 	find -type f -name '*.c' -exec rm -f '{}' ';' 
+
+override_dh_auto_install:
+	dh_auto_install
+	
+	# try to create man pages whereever possible
+	mkdir -p $(mandir)
+	help2man --no-info --name='Fine-tuning script to call broad peaks from a single bedGraph track for scores' \
+	    --version-string="$(version)" \
+		 "python $(CURDIR)/bin/bdgbroadcall" > $(mandir)/bdgbroadcall.1
+	help2man --no-info --name='Calculate scores using certain method by comparing a bedGraph file from treatment and a file from control representing local bias' \
+	    --version-string="$(version)" \
+		 "python $(CURDIR)/bin/bdgcmp" > $(mandir)/bdgcmp.1
+	help2man --no-info --name='Naive call differential peaks from 4 bedGraph tracks for scores' \
+	    --version-string="$(version)" \
+		 "python $(CURDIR)/bin/bdgdiff" > $(mandir)/bdgdiff.1
+	help2man --no-info --name='Naive call peaks from a single bedGraph track for scores' \
+	    --version-string="$(version)" \
+		 "python $(CURDIR)/bin/bdgpeakcall" > $(mandir)/bdgpeakcall.1
+	help2man --no-info --name='Filter duplicate reads depending on sequencing depth' \
+	    --version-string="$(version)" \
+		 "python $(CURDIR)/bin/filterdup" > $(mandir)/filterdup.1
+	help2man --no-info --name='Model-based Analysis for ChIP-Sequencing' \
+	    --version-string="$(version)" \
+		 "python $(CURDIR)/bin/macs2" > $(mandir)/macs2.1
+	help2man --no-info --name='Differential Analysis for ChIP-Sequencing' \
+	    --version-string="$(version)" \
+		 "python $(CURDIR)/bin/macs2diff" > $(mandir)/macs2diff.1
+	help2man --no-info --name='Random sample certain number/percentage of tags' \
+	    --version-string="$(version)" \
+		 "python $(CURDIR)/bin/randsample" > $(mandir)/randsample.1

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



More information about the debian-med-commit mailing list