diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile index 20cbeaa..05ed4e0 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,8 @@ -VERSION = 0.9.7 -SBINDIR ?= /usr/sbin -DRACUTMODDIR ?= /usr/lib/dracut/modules.d/01vmklive +VERSION = 0.9.8 +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 @@ -10,6 +12,9 @@ install: all install -m755 mklive.sh $(DESTDIR)$(SBINDIR)/void-mklive install -d $(DESTDIR)$(DRACUTMODDIR) install -m755 dracut/*.sh $(DESTDIR)$(DRACUTMODDIR) + install -d $(DESTDIR)$(SHAREDIR)/void-mklive + install -m644 grub/*.cfg* $(DESTDIR)$(SHAREDIR)/void-mklive + install -m644 isolinux/*.cfg* $(DESTDIR)$(SHAREDIR)/void-mklive clean: -rm -f mklive.sh |