aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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: