diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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/ |