[med-svn] r12703 - trunk/packages/macs/trunk/debian
Andreas Tille
tille at alioth.debian.org
Wed Dec 19 15:30:40 UTC 2012
Author: tille
Date: 2012-12-19 15:30:40 +0000 (Wed, 19 Dec 2012)
New Revision: 12703
Modified:
trunk/packages/macs/trunk/debian/changelog
trunk/packages/macs/trunk/debian/compat
trunk/packages/macs/trunk/debian/control
trunk/packages/macs/trunk/debian/rules
Log:
Commit several changes mainly polishing; use help2man 2 get manpages
Modified: trunk/packages/macs/trunk/debian/changelog
===================================================================
--- trunk/packages/macs/trunk/debian/changelog 2012-12-19 09:51:21 UTC (rev 12702)
+++ trunk/packages/macs/trunk/debian/changelog 2012-12-19 15:30:40 UTC (rev 12703)
@@ -4,12 +4,16 @@
- 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
Modified: trunk/packages/macs/trunk/debian/compat
===================================================================
--- trunk/packages/macs/trunk/debian/compat 2012-12-19 09:51:21 UTC (rev 12702)
+++ trunk/packages/macs/trunk/debian/compat 2012-12-19 15:30:40 UTC (rev 12703)
@@ -1 +1 @@
-8
+9
Modified: trunk/packages/macs/trunk/debian/control
===================================================================
--- trunk/packages/macs/trunk/debian/control 2012-12-19 09:51:21 UTC (rev 12702)
+++ trunk/packages/macs/trunk/debian/control 2012-12-19 15:30:40 UTC (rev 12703)
@@ -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/
Modified: trunk/packages/macs/trunk/debian/rules
===================================================================
--- trunk/packages/macs/trunk/debian/rules 2012-12-19 09:51:21 UTC (rev 12702)
+++ trunk/packages/macs/trunk/debian/rules 2012-12-19 15:30:40 UTC (rev 12703)
@@ -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
More information about the debian-med-commit
mailing list