diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile index 05ed4e0..2fc0b19 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ -VERSION = 0.9.8 +GITVER := $(shell git rev-parse HEAD) +VERSION = 0.10 PREFIX ?= /usr/local SBINDIR ?= $(PREFIX)/sbin SHAREDIR ?= $(PREFIX)/share DRACUTMODDIR ?= $(PREFIX)/lib/dracut/modules.d/01vmklive all: - sed -e "s|@@MKLIVE_VERSION@@|${VERSION}|g" mklive.sh.in > mklive.sh + sed -e "s|@@MKLIVE_VERSION@@|$(VERSION) $(GITVER)|g" mklive.sh.in > mklive.sh install: all install -d $(DESTDIR)$(SBINDIR) |