From e38a53c61d4d4abceffcae9bc5b47be8aaec3b16 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 29 Apr 2009 13:41:30 +0000 Subject: version 1.0 --- Makefile | 3 ++- mkinitfs | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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: diff --git a/mkinitfs b/mkinitfs index 5fd116d..af52edb 100755 --- a/mkinitfs +++ b/mkinitfs @@ -1,5 +1,7 @@ #!/bin/sh +VERSION=1.0 + _cp() { local i if [ -n "$list_sources" ]; then -- cgit v1.2.3