[Pkg-voip-commits] r7146 - /opal/trunk/debian/rules
kilian at alioth.debian.org
kilian at alioth.debian.org
Sat May 9 13:29:27 UTC 2009
Author: kilian
Date: Sat May 9 13:29:27 2009
New Revision: 7146
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7146
Log:
fix print-version target
Modified:
opal/trunk/debian/rules
Modified: opal/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/opal/trunk/debian/rules?rev=7146&op=diff
==============================================================================
--- opal/trunk/debian/rules (original)
+++ opal/trunk/debian/rules Sat May 9 13:29:27 2009
@@ -4,6 +4,8 @@
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/dpatch.mk
+DEBVERSION := $(shell head -n 1 debian/changelog \
+ | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
UPVERSION := $(shell echo $(DEB_UPSTREAM_VERSION) | sed 's/~dfsg//')
REV := $(shell echo $(UPVERSION) | sed -r -e 's/^.*svn//')
@@ -32,7 +34,7 @@
print-version:
@@echo "Debian version: $(DEBVERSION)"
@@echo "Upstream version: $(UPVERSION)"
- @@echo "svn REV: $(REV)"
+ @@#echo "svn REV: $(REV)"
get-orig-source:
@@dh_testdir
More information about the Pkg-voip-commits
mailing list