On Mon, 2010-05-24 at 12:38 -0400, James Laska wrote:
---
Makefile | 2 +-
autoqa.spec | 8 +++++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 2b6808a..e87726a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
# Stupid, stupid makefile. I am ashamed of this.
-VERSION=0.3.2
+VERSION=$(gawk '$1~/^Version:/{print $2}' autoqa.spec)
Oops, I corrected this syntax in my private branch already.
http://git.fedorahosted.org/git/?p=autoqa.git;a=commitdiff;h=b0699e6327c4...
Thanks,
James