ref: e38a53c61d4d4abceffcae9bc5b47be8aaec3b16
parent: b6d43f17ceaade4bb4a392ddc2fcf032ddf138f8
author: Natanael Copa <ncopa@alpinelinux.org>
date: Wed Apr 29 08:41:30 CDT 2009
version 1.0
--- 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 @@
INSTALL := install
help:
+ @echo mkinitfs $(VERSION)
@echo "usage: make install [DESTDIR=]"
install:
--- a/mkinitfs
+++ b/mkinitfs
@@ -1,5 +1,7 @@
#!/bin/sh
+VERSION=1.0
+
_cp() {
local i
if [ -n "$list_sources" ]; then