streamfest/Makefile

14 lines
248 B
Makefile

.PHONY: default
.SILENT: default
default: $(STREAMS:=.html)
ifndef STREAMS
echo You need to specify a list of streams the STREAMS variable
endif
.PHONY: clean
clean:
rm -f *.html
%.html:
sed "s/{{stream}}/$(@:.html=)/g" < player.template > $@