aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-04-29 13:41:30 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-04-29 13:41:30 +0000
commite38a53c61d4d4abceffcae9bc5b47be8aaec3b16 (patch)
treeeed133af7b6bf04870fd5589db3c42a35db8573e /Makefile
parentb6d43f17ceaade4bb4a392ddc2fcf032ddf138f8 (diff)
downloadmkinitfs-e38a53c61d4d4abceffcae9bc5b47be8aaec3b16.tar.bz2
mkinitfs-e38a53c61d4d4abceffcae9bc5b47be8aaec3b16.tar.xz
version 1.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4693de6..b9eb682 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-VERSION := 1.1
+VERSION := $(shell awk -F= '$$1=="VERSION" {print($$2)}' mkinitfs)
SBIN_FILES := mkinitfs bootchartd
@@ -21,6 +21,7 @@ DISTFILES := $(SBIN_FILES) $(CONF_FILES) $(SHARE_FILES) Makefile
INSTALL := install
help:
+ @echo mkinitfs $(VERSION)
@echo "usage: make install [DESTDIR=]"
install: