diff options
author | Juan RP <xtraeme@gmail.com> | 2012-11-22 14:35:37 +0100 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2012-11-22 14:35:37 +0100 |
commit | 8783414cc73347ea78e6c2442ecc8f4678d40b84 (patch) | |
tree | 3e468f49fbb40139a09dc6402cd37a01c26c93d0 /Makefile | |
parent | 5159224c3da5c7b2faa06c4b1ae6aeeed62b2e29 (diff) | |
download | hrmpf-8783414cc73347ea78e6c2442ecc8f4678d40b84.tar.gz hrmpf-8783414cc73347ea78e6c2442ecc8f4678d40b84.tar.xz hrmpf-8783414cc73347ea78e6c2442ecc8f4678d40b84.zip |
Update for 0.18; new options -l (generates a local repo) and -r to set rootdir.
-l "pkg pkg1 ..." If set generates a local repository (/packages) in the live image with the package list. -r rootdir To specify an alternative rootdir to build the image.
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) |