void-mklive/Makefile

13 lines
251 B
Makefile
Raw Normal View History

GITVER := $(shell git rev-parse --short HEAD)
2013-09-29 10:26:53 +02:00
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" $^ > $@
2014-01-11 18:51:47 +01:00
chmod +x $@
all: $(SCRIPTS)