13 lines
251 B
Makefile
13 lines
251 B
Makefile
GITVER := $(shell git rev-parse --short HEAD)
|
|
VERSION = 0.22
|
|
|
|
SHIN += $(shell find -type f -name '*.sh.in')
|
|
SCRIPTS += $(SHIN:.sh.in=.sh)
|
|
|
|
%.sh: %.sh.in
|
|
sed -e "s|@@MKLIVE_VERSION@@|$(VERSION) $(GITVER)|g" $^ > $@
|
|
chmod +x $@
|
|
|
|
all: $(SCRIPTS)
|
|
|