[med-svn] [bitseq] 04/04: Do not parse d/changelog
Andreas Tille
tille at debian.org
Sat Dec 2 09:06:52 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository bitseq.
commit b5351f6ce4cd4885069881dd5cd07861ef4d61b1
Author: Andreas Tille <tille at debian.org>
Date: Sat Dec 2 10:04:22 2017 +0100
Do not parse d/changelog
---
debian/rules | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/debian/rules b/debian/rules
index 37632b0..871ebf9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,55 +5,55 @@ export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
-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/
+include /usr/share/dpkg/default.mk
+
+mandir=$(CURDIR)/debian/$(DEB_SOURCE)/usr/share/man/man1/
+bindir=$(CURDIR)/debian/$(DEB_SOURCE)/usr/bin/
%:
dh $@
override_dh_installman:
- # try to create man pages whereever possible
+ # try to create man pages whereever possible
mkdir -p $(mandir)
help2man --no-info --name='convert or normalize MCMC expression samples' \
- --version-string="$(version)" --no-discard-stderr \
+ --version-string="$(DEB_VERSION_UPSTREAM)" --no-discard-stderr \
$(bindir)/convertSamples > $(mandir)/convertSamples.1
help2man --no-info --name='this bitseq module estimates differential expression from data sets' \
- --version-string="$(version)" --no-discard-stderr \
+ --version-string="$(DEB_VERSION_UPSTREAM)" --no-discard-stderr \
$(bindir)/estimateDE > $(mandir)/estimateDE.1
help2man --no-info --name='estimate expression given precomputed probabilities of (observed) reads'' alignments' \
- --version-string="$(version)" --no-discard-stderr \
+ --version-string="$(DEB_VERSION_UPSTREAM)" --no-discard-stderr \
$(bindir)/estimateExpression > $(mandir)/estimateExpression.1
help2man --no-info --name='estimate expression dependent hyperparameters for bitseq' \
- --version-string="$(version)" --no-discard-stderr \
+ --version-string="$(DEB_VERSION_UPSTREAM)" --no-discard-stderr \
$(bindir)/estimateHyperPar > $(mandir)/estimateHyperPar.1
help2man --no-info --name='estimate expression given precomputed probabilities of (observed) reads'' alignments' \
- --version-string="$(version)" --no-discard-stderr \
+ --version-string="$(DEB_VERSION_UPSTREAM)" --no-discard-stderr \
$(bindir)/estimateVBExpression > $(mandir)/estimateVBExpression.1
help2man --no-info --name='extract MCMC samples of selected transcripts' \
- --version-string="$(version)" --no-discard-stderr \
+ --version-string="$(DEB_VERSION_UPSTREAM)" --no-discard-stderr \
$(bindir)/extractSamples > $(mandir)/extractSamples.1
help2man --no-info --name='computes log_2 Fold Change from MCMC expression samples' \
- --version-string="$(version)" --no-discard-stderr \
+ --version-string="$(DEB_VERSION_UPSTREAM)" --no-discard-stderr \
$(bindir)/getFoldChange > $(mandir)/getFoldChange.1
help2man --no-info --name='compute expression of whole genes' \
- --version-string="$(version)" --no-discard-stderr \
+ --version-string="$(DEB_VERSION_UPSTREAM)" --no-discard-stderr \
$(bindir)/getGeneExpression > $(mandir)/getGeneExpression.1
help2man --no-info --name='compute PPLR from MCMC expression samples' \
- --version-string="$(version)" --no-discard-stderr \
+ --version-string="$(DEB_VERSION_UPSTREAM)" --no-discard-stderr \
$(bindir)/getPPLR > $(mandir)/getPPLR.1
help2man --no-info --name='estimates variance of MCMC samples' \
- --version-string="$(version)" --no-discard-stderr \
+ --version-string="$(DEB_VERSION_UPSTREAM)" --no-discard-stderr \
$(bindir)/getVariance > $(mandir)/getVariance.1
help2man --no-info --name='compute relative expression of transcripts within genes' \
- --version-string="$(version)" --no-discard-stderr \
+ --version-string="$(DEB_VERSION_UPSTREAM)" --no-discard-stderr \
$(bindir)/getWithinGeneExpression > $(mandir)/getWithinGeneExpression.1
help2man --no-info --name='pre\-compute probabilities of (observed) reads'' alignments' \
- --version-string="$(version)" --no-discard-stderr \
+ --version-string="$(DEB_VERSION_UPSTREAM)" --no-discard-stderr \
$(bindir)/parseAlignment > $(mandir)/parseAlignment.1
help2man --no-info --name='helper for bitseq to transpose files lines and columns' \
- --version-string="$(version)" --no-discard-stderr \
+ --version-string="$(DEB_VERSION_UPSTREAM)" --no-discard-stderr \
$(bindir)/transposeLargeFile > $(mandir)/transposeLargeFile.1
override_dh_auto_install:
@@ -61,5 +61,5 @@ override_dh_auto_install:
get-orig-source:
mkdir -p ../tarballs
- uscan --verbose --force-download --repack-compression xz --destdir=../tarballs
+ uscan --verbose --force-download --destdir=../tarballs
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bitseq.git
More information about the debian-med-commit
mailing list