From 22f8823563d79b5c84561c1bbfcd5ea4fd7b5668 Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Thu, 3 Dec 2009 13:00:13 -0700 Subject: [PATCH] Correctly pull version numbers from debian/changelog containing dashes. --- rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules b/rules index fdedfdb8..fa24813c 100755 --- a/rules +++ b/rules @@ -34,7 +34,7 @@ dtmp := debian/tmp # For now, the solution is quite hackish: copy the source directory to the # build directory before running configure. tempdir := $(shell tempfile $(PACKAGE)) -version := $(shell head -1 debian/changelog | sed -e s'|^.*(\([^-)]*\).*$$|\1|') +version := $(shell head -1 debian/changelog | sed -e s'|^.*(\(.*\)-.*).*$$|\1|') configure-stamp: patch-stamp $(checkdir) -- 2.39.2