X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=rules;fp=rules;h=fa24813cde4932870ba6b2559b8d36c2c0715a3b;hb=22f8823563d79b5c84561c1bbfcd5ea4fd7b5668;hp=fdedfdb82fe7a8d1ff97d097b8088317a8571d27;hpb=b98bdc0d075e984a779019e2239b17fcfcc35d90;p=tinyos-2.x.git 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)