[med-svn] [sga] 05/10: Move help2man call to override_dh_installman
Andreas Tille
tille at debian.org
Wed May 28 12:48:41 UTC 2014
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch debian
in repository sga.
commit a13af1b884ff7f2b43bcb04c45b53c3ca1c4c1c5
Author: Andreas Tille <tille at debian.org>
Date: Wed May 28 08:17:06 2014 +0200
Move help2man call to override_dh_installman
---
debian/manpages | 3 ---
debian/rules | 23 +++++++++--------------
2 files changed, 9 insertions(+), 17 deletions(-)
diff --git a/debian/manpages b/debian/manpages
deleted file mode 100644
index 8ecb22e..0000000
--- a/debian/manpages
+++ /dev/null
@@ -1,3 +0,0 @@
-debian/sga.1
-debian/sga-bam2de.1
-debian/sga-mergeDriver.1
diff --git a/debian/rules b/debian/rules
index 477b632..b781f15 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,33 +10,28 @@
override_dh_auto_configure:
dh_auto_configure -- --with-bamtools=/usr/
-BAM2DEVERSION = $(shell git log --max-count=1 --date=short --format=format:%ad ./src/bin/sga-bam2de.pl)
-BAM2DEVERSION ?= 2012-09-07
-MERGEDRIVERVERSION = $(shell git log --max-count=1 --date=short --format=format:%ad ./src/bin/sga-mergeDriver.pl)
-MERGEDRIVERVERSION ?= 2012-06-10
-
-
SGAVERSION = $(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-[^-]*/\1/p')
+mandir=$(CURDIR)/debian/$(pkg)/usr/share/man/man1/
-override_dh_auto_install:
- dh_auto_install
+override_dh_installman:
+ mkdir -p $(mandir)
PATH=/usr/lib/abyss:${PATH} \
help2man \
- --version-string="0.0.${BAM2DEVERSION}" \
+ --version-string="$(SGAVERSION)" \
--no-info \
--name "Make a distance estimate file from a bam file of reads aligned to contigs" \
- --output debian/sga-bam2de.1 \
+ --output $(mandir)/sga-bam2de.1 \
debian/sga/usr/bin/sga-bam2de
help2man \
--no-info \
- --version-string="${SGAVERSION}" \
+ --version-string="$(SGAVERSION)" \
--name="String Graph Assembler: de novo genome assembler that uses string graphs" \
- --output debian/sga.1 \
+ --output $(mandir)/sga.1 \
./debian/sga/usr/bin/sga
help2man \
--no-info\
- --version-string="${MERGEDRIVERVERSION}" \
+ --version-string="$(SGAVERSION)" \
--name="generate sga merge commands from a list of files" \
- --output debian/sga-mergeDriver.1 \
+ --output $(mandir)/sga-mergeDriver.1 \
./debian/sga/usr/bin/sga-mergeDriver
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/sga.git
More information about the debian-med-commit
mailing list