diff options
-rw-r--r-- | Makefile | 3 | ||||
-rwxr-xr-x | mkinitfs | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -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: @@ -1,5 +1,7 @@ #!/bin/sh +VERSION=1.0 + _cp() { local i if [ -n "$list_sources" ]; then |