summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2003-09-17 18:21:06 +0000
committerFlorent Villard <warly@mandriva.com>2003-09-17 18:21:06 +0000
commit9044c3750423f694372048571bf1795ac8e1a69f (patch)
tree0e2af42fcdeca348c498a888b443e7e9e124d620 /Makefile
parenta3a64388a80c4ac7c69808920e626a8a697dbe7c (diff)
downloaddrakwizard-9044c3750423f694372048571bf1795ac8e1a69f.tar
drakwizard-9044c3750423f694372048571bf1795ac8e1a69f.tar.gz
drakwizard-9044c3750423f694372048571bf1795ac8e1a69f.tar.bz2
drakwizard-9044c3750423f694372048571bf1795ac8e1a69f.tar.xz
drakwizard-9044c3750423f694372048571bf1795ac8e1a69f.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b633a707..9dfb0dac 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,9 @@
RPM=$(HOME)/rpm
NAME = drakwizard
TAR = $(NAME).tar.bz2
+VERSION := $(shell sed -n 's/%define version //p' < $(NAME).spec)
+RELEASE := $(shell sed -n 's/%define release //p' < $(NAME).spec)
+RELTAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__')
# TODO: get WIZ_HOME take care of usr prefix
WIZ_HOME=/usr/share/wizards/