Author: tille Date: Wed Sep 1 11:07:19 2010 New Revision: 2366 URL: http://svn.debian.org/viewsvn/blends?rev=2366&view=rev
Log: Use dpkg-parsechangelog to obtain version number Modified: blends/trunk/blends/debian/changelog blends/trunk/blends/devtools/rules Modified: blends/trunk/blends/debian/changelog URL: http://svn.debian.org/viewsvn/blends/blends/trunk/blends/debian/changelog?rev=2366&view=diff&r1=2366&r2=2365&p1=blends/trunk/blends/debian/changelog&p2=blends/trunk/blends/debian/changelog ============================================================================== --- blends/trunk/blends/debian/changelog (original) +++ blends/trunk/blends/debian/changelog Wed Sep 1 11:07:19 2010 @@ -1,8 +1,9 @@ blends (0.6.15) UNRELEASED; urgency=low * doc/en: Update about existing Blends + * devtools/rules: use dpkg-parsechangelog to obtain version number - -- Andreas Tille <[email protected]> Wed, 11 Aug 2010 23:05:58 +0200 + -- Andreas Tille <[email protected]> Wed, 01 Sep 2010 13:04:27 +0200 blends (0.6.14) unstable; urgency=low Modified: blends/trunk/blends/devtools/rules URL: http://svn.debian.org/viewsvn/blends/blends/trunk/blends/devtools/rules?rev=2366&view=diff&r1=2366&r2=2365&p1=blends/trunk/blends/devtools/rules&p2=blends/trunk/blends/devtools/rules ============================================================================== --- blends/trunk/blends/devtools/rules (original) +++ blends/trunk/blends/devtools/rules Wed Sep 1 11:07:19 2010 @@ -15,7 +15,8 @@ BLEND := $(shell /usr/share/blends-dev/blend-get-names blendname) GENCONTROL := /usr/share/blends-dev/blend-gen-control -VERSION := $(shell grep '^$(BLENDNAME) *(.\+)' debian/changelog | head -n 1 | sed 's/^$(BLENDNAME) \+(\(.\+\)) .*/\1/' ) +# VERSION := $(shell grep '^$(BLENDNAME) *(.\+)' debian/changelog | head -n 1 | sed 's/^$(BLENDNAME) \+(\(.\+\)) .*/\1/' ) +VERSION := $(shell dpkg-parsechangelog | awk '/^Version/ { print $2 }' ) DISTDIR := $(BLENDNAME)-$(VERSION) all: _______________________________________________ Blends-commit mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/blends-commit
