diff --git a/Makefile b/Makefile index 8bb4b9b..5f4285c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,13 @@ -default: - $(MAKE) $(STREAMS:=.html) +.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 > $@ diff --git a/player.template b/player.template index bab99af..7e58582 100644 --- a/player.template +++ b/player.template @@ -64,3 +64,49 @@ + + + +