summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2008-08-19 04:54:24 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2008-08-19 04:54:24 -0300
commitf8f4c80ecdcc5b5087f3600018c29fc0a1a5c5a1 (patch)
tree49c24ed7f25e62eb1cac1bb96ed7169fc726ffa6
parent07fc11507337995af1db42a4fbed134435a138fb (diff)
downloadtuna-f8f4c80ecdcc5b5087f3600018c29fc0a1a5c5a1.tar.gz
Makefile: use $(PACKAGE) when extracting the version
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f23470e..7ccd210 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
PACKAGE := tuna
-VERSION := $(shell rpm -q --qf '%{VERSION} ' --specfile rpm/SPECS/tuna.spec | cut -d' ' -f1)
+VERSION := $(shell rpm -q --qf '%{VERSION} ' --specfile rpm/SPECS/$(PACKAGE).spec | cut -d' ' -f1)
rpmdirs:
@[ -d rpm/BUILD ] || mkdir rpm/BUILD