From: Andrew Ruthven <andrew@etc.gen.nz>
Date: Sun, 25 Nov 2007 23:23:44 +0000 (+1300)
Subject: Ignore the Debian release tags.
X-Git-Tag: debian-0.5.1-2~2
X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e7752af0eb57bd2467c098ff34e2acdce091763;p=mythtv-status.git

Ignore the Debian release tags.
---

diff --git a/Makefile b/Makefile
index c940a5a..9610550 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ releases=etch sid
 sponsor_keyid=19D03486
 
 build=dpkg-buildpackage -sn -uc -us -rfakeroot -i'(.git|build|.gitignore)*' -I.git -Ibuild -I.gitignore
-version=$(shell git-tag -l | tail -1)
+version=$(shell git-tag -l | grep -v ^debian | tail -1)
 
 deb=$(package)_$(version)-1_all.deb
 orig_tarball=../$(package)_$(version).orig.tar.gz