[med-svn] [sga] 08/10: Properly install manpages
Andreas Tille
tille at debian.org
Wed May 28 12:48:42 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 38ef8ccd6d85e827495e1c4115f6456cf7866f21
Author: Andreas Tille <tille at debian.org>
Date: Wed May 28 10:14:57 2014 +0200
Properly install manpages
---
debian/rules | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/debian/rules b/debian/rules
index b781f15..c10e165 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,28 +10,30 @@
override_dh_auto_configure:
dh_auto_configure -- --with-bamtools=/usr/
-SGAVERSION = $(shell dpkg-parsechangelog | sed -n 's/^Version: \(.*\)-[^-]*/\1/p')
+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/
+bindir=$(CURDIR)/debian/$(pkg)/usr/bin
override_dh_installman:
mkdir -p $(mandir)
PATH=/usr/lib/abyss:${PATH} \
help2man \
- --version-string="$(SGAVERSION)" \
+ --version-string="$(version)" \
--no-info \
--name "Make a distance estimate file from a bam file of reads aligned to contigs" \
--output $(mandir)/sga-bam2de.1 \
- debian/sga/usr/bin/sga-bam2de
+ $(bindir)/sga-bam2de
help2man \
--no-info \
- --version-string="$(SGAVERSION)" \
+ --version-string="$(version)" \
--name="String Graph Assembler: de novo genome assembler that uses string graphs" \
--output $(mandir)/sga.1 \
- ./debian/sga/usr/bin/sga
+ $(bindir)/sga
help2man \
--no-info\
- --version-string="$(SGAVERSION)" \
+ --version-string="$(version)" \
--name="generate sga merge commands from a list of files" \
--output $(mandir)/sga-mergeDriver.1 \
- ./debian/sga/usr/bin/sga-mergeDriver
+ $(bindir)/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