[med-svn] [gmap] 05/06: d/control: use canonical Vcs fields - updated Standards-Version - added help2man to Build-Depends: - remove trailing slash from Homepage d/rules: install symlinks for gmap, gsnap in /usr/bin/ - use as bindir /usr/lib/gmap - generate map pages with help of help2man d/install: removed as all files are installed in /usr/lib/gmap/
Alex Mestiashvili
malex-guest at moszumanska.debian.org
Tue Jul 1 16:33:15 UTC 2014
This is an automated email from the git hooks/post-receive script.
malex-guest pushed a commit to branch master
in repository gmap.
commit 547600c20975c8ea5520dbc2f0a880c4ff613f35
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date: Mon Jun 30 14:21:10 2014 +0200
d/control: use canonical Vcs fields
- updated Standards-Version
- added help2man to Build-Depends:
- remove trailing slash from Homepage
d/rules: install symlinks for gmap,gsnap in /usr/bin/
- use as bindir /usr/lib/gmap
- generate map pages with help of help2man
d/install: removed as all files are installed in /usr/lib/gmap/
---
debian/control | 11 ++++++-----
debian/install | 24 ------------------------
debian/rules | 24 +++++++++++++++++++++---
3 files changed, 27 insertions(+), 32 deletions(-)
diff --git a/debian/control b/debian/control
index 1780c76..9f297e9 100644
--- a/debian/control
+++ b/debian/control
@@ -5,11 +5,12 @@ Uploaders: Shaun Jackman <sjackman at debian.org>,
Section: non-free/science
Priority: optional
Build-Depends: debhelper (>= 9),
- autotools-dev
-Standards-Version: 3.9.4
-Vcs-Browser: http://git.debian.org/?p=debian-med/gmap.git
-Vcs-Git: git://git.debian.org/git/debian-med/gmap.git
-Homepage: http://research-pub.gene.com/gmap/
+ autotools-dev,
+ help2man,
+Standards-Version: 3.9.5
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-med/gmap.git
+Vcs-Git: git://anonscm.debian.org/debian-med/gmap.git
+Homepage: http://research-pub.gene.com/gmap
Package: gmap
Architecture: any
diff --git a/debian/install b/debian/install
deleted file mode 100644
index ac92222..0000000
--- a/debian/install
+++ /dev/null
@@ -1,24 +0,0 @@
-usr/bin/gmap
-usr/bin/gsnap
-usr/bin/gmap_setup
-usr/bin/atoiindex /usr/lib/gmap
-usr/bin/cmetindex /usr/lib/gmap
-usr/bin/dbsnp_iit /usr/lib/gmap
-usr/bin/fa_coords /usr/lib/gmap
-usr/bin/get-genome /usr/lib/gmap
-usr/bin/gmap_build /usr/lib/gmap
-usr/bin/gmap_compress /usr/lib/gmap
-usr/bin/gmap_process /usr/lib/gmap
-usr/bin/gmap_reassemble /usr/lib/gmap
-usr/bin/gmap_uncompress /usr/lib/gmap
-usr/bin/gmapindex /usr/lib/gmap
-# usr/bin/gsnap_tally /usr/lib/gmap
-usr/bin/gtf_genes /usr/lib/gmap
-usr/bin/gtf_splicesites /usr/lib/gmap
-usr/bin/iit_dump /usr/lib/gmap
-usr/bin/iit_get /usr/lib/gmap
-usr/bin/iit_store /usr/lib/gmap
-usr/bin/md_coords /usr/lib/gmap
-usr/bin/psl_genes /usr/lib/gmap
-usr/bin/psl_splicesites /usr/lib/gmap
-usr/bin/snpindex /usr/lib/gmap
diff --git a/debian/rules b/debian/rules
index c36f85f..e1e517f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,30 @@
#!/usr/bin/make -f
export DH_OPTIONS
+pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
+mandir=$(CURDIR)/debian/$(pkg)/usr/share/man/man1
+version=$(shell dpkg-parsechangelog -ldebian/changelog | grep Version: | cut -f2 -d' ' | cut -f1 -d- )
%:
dh $@ --with autotools_dev
override_dh_auto_configure:
- dh_auto_configure -- --with-gmapdb=/var/cache/gmap
+ dh_auto_configure -- --enable-shared --with-gmapdb=/var/cache/gmap --bindir=/usr/lib/gmap
-override_dh_auto_install:
- dh_auto_install --destdir=debian/tmp
+override_dh_install:
+ dh_install
+ mkdir -p debian/$(pkg)/usr/bin
+ ln -s /usr/lib/gmap/gmap debian/$(pkg)/usr/bin/gmap
+ ln -s /usr/lib/gmap/gsnap debian/$(pkg)/usr/bin/gsnap
+
+override_dh_installman:
+ dh_installman
+#generate man pages with help2man
+ mkdir -p $(mandir)
+ cd debian/$(pkg)/usr/lib/gmap/ && \
+ for i in gmap gsnap; do \
+ help2man --no-info --no-discard-stderr \
+ --version-string="$(version)" \
+ --help-option="--help" \
+ ./$$i | grep -v "called with args" >$(mandir)/$$i.1; \
+ done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gmap.git
More information about the debian-med-commit
mailing list