2013-08-23 11:14:18 +02:00
|
|
|
GITVER := $(shell git rev-parse --short HEAD)
|
2013-09-29 10:26:53 +02:00
|
|
|
VERSION = 0.22
|
2012-06-12 16:27:17 +02:00
|
|
|
|
2013-05-19 09:39:56 +02:00
|
|
|
SHIN += $(shell find -type f -name '*.sh.in')
|
|
|
|
SCRIPTS += $(SHIN:.sh.in=.sh)
|
|
|
|
|
|
|
|
%.sh: %.sh.in
|
|
|
|
sed -e "s|@@MKLIVE_VERSION@@|$(VERSION) $(GITVER)|g" $^ > $@
|
2014-01-11 18:51:47 +01:00
|
|
|
chmod +x $@
|
2013-05-19 09:39:56 +02:00
|
|
|
|
|
|
|
all: $(SCRIPTS)
|
2012-06-12 16:27:17 +02:00
|
|
|
|