diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-08-19 04:54:24 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-08-19 04:54:24 -0300 |
commit | f8f4c80ecdcc5b5087f3600018c29fc0a1a5c5a1 (patch) | |
tree | 49c24ed7f25e62eb1cac1bb96ed7169fc726ffa6 | |
parent | 07fc11507337995af1db42a4fbed134435a138fb (diff) | |
download | tuna-f8f4c80ecdcc5b5087f3600018c29fc0a1a5c5a1.tar.gz |
Makefile: use $(PACKAGE) when extracting the version
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |