r861 - /unstable/x264/debian/rules
lool at users.alioth.debian.org
lool at users.alioth.debian.org
Sun Aug 12 15:53:26 UTC 2007
Author: lool
Date: Sun Aug 12 15:53:26 2007
New Revision: 861
URL: http://svn.debian.org/wsvn/pkg-multimedia/?sc=1&rev=861
Log:
* Minor cleanups.
Modified:
unstable/x264/debian/rules
Modified: unstable/x264/debian/rules
URL: http://svn.debian.org/wsvn/pkg-multimedia/unstable/x264/debian/rules?rev=861&op=diff
==============================================================================
--- unstable/x264/debian/rules (original)
+++ unstable/x264/debian/rules Sun Aug 12 15:53:26 2007
@@ -15,8 +15,8 @@
QUILT := QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null
-DEB_SOURCE_PACKAGE ?= $(strip $(shell egrep '^Source: ' debian/control | cut -f 2 -d ':'))
-DEB_VERSION ?= $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
+DEB_SOURCE_PACKAGE ?= $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
+DEB_VERSION ?= $(shell dpkg-parsechangelog | sed -n 's/^Version: //p')
DEB_NOEPOCH_VERSION ?= $(shell echo $(DEB_VERSION) | cut -d: -f2-)
DEB_UPSTREAM_VERSION ?= $(shell echo $(DEB_NOEPOCH_VERSION) | sed 's/-[^-]*$$//')
More information about the pkg-multimedia-commits
mailing list