This is an automated email from the git hooks/post-receive script. tille pushed a commit to branch master in repository grinder.
commit 8eb52cbd6daed9bd5d4763012f6ceaa174e8a7b2 Author: Andreas Tille <[email protected]> Date: Fri Sep 13 09:36:08 2013 +0200 Obtain version from changelog instead of setting it manually --- debian/changelog | 2 ++ debian/rules | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index a883455..6565da5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,8 @@ grinder (0.5.3-3) UNRELEASED; urgency=low from grinder and includes it into their distribution. Finally now are all modules from the Bio directory integrated into BioPerl. + - Obtain version from changelog instead of setting it manually + (which is in danger to age without noticing) -- Andreas Tille <[email protected]> Fri, 13 Sep 2013 08:25:06 +0200 diff --git a/debian/rules b/debian/rules index 7972eb6..b8bc7d1 100755 --- a/debian/rules +++ b/debian/rules @@ -1,10 +1,10 @@ #!/usr/bin/make -f -PACKAGE = grinder -AUTHOR = Florent Angly <[email protected]> -VERSION = 0.4.2 -SECTION = 1 -MANDIR = debian/man +PACKAGE := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p') +AUTHOR := Florent Angly <[email protected]> +VERSION := $(shell LC_ALL=C dpkg-parsechangelog | awk '/^Version:/{print $$2;}' | sed -e 's,-[^-]*$$,,g') +SECTION := 1 +MANDIR := debian/man NAME1 = $(PACKAGE) SCRIPT1 = script/$(NAME1) -- Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/grinder.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
