[med-svn] [probalign] 01/02: do not parse d/changelog
Andreas Tille
tille at debian.org
Thu Nov 16 13:52:21 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository probalign.
commit e20f379b40a60fd68f3b4db523312c704198f3a4
Author: Andreas Tille <tille at debian.org>
Date: Thu Nov 16 14:49:40 2017 +0100
do not parse d/changelog
---
debian/changelog | 1 +
debian/rules | 11 ++++-------
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 84d918c..1544c1a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ probalign (1.4-7) UNRELEASED; urgency=medium
* Moved packaging from SVN to Git
* debhelper 10
* Standards-Version: 4.1.1
+ * d/rules: do not parse d/changelog
-- Andreas Tille <tille at debian.org> Thu, 16 Nov 2017 14:44:54 +0100
diff --git a/debian/rules b/debian/rules
index 6d5ddbc..d4664e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,10 @@
#!/usr/bin/make -f
-# debian/rules for probalign
-# Andreas Tille <tille at debian.org>
-# LGPL-3
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p')
-PKG := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
+include /usr/share/dpkg/default.mk
+
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
@@ -16,7 +13,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
override_dh_auto_install:
help2man --name="Align sequences in MFAFILE(s) and print result to standard output" \
--no-discard-stderr \
- --version-string=$(VERSION) \
+ --version-string=$(DEB_VERSION_UPSTREAM) \
--help-option=" " \
--no-info \
- $(CURDIR)/probalign > $(CURDIR)/debian/$(PKG)/usr/share/man/man1/probalign.1
+ $(CURDIR)/probalign > $(CURDIR)/debian/$(DEB_SOURCE)/usr/share/man/man1/probalign.1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/probalign.git
More information about the debian-med-commit
mailing list