From b732193b556c28aea12be61d8fd67f8e084204a1 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Wed, 29 Oct 2014 15:11:21 +0200 Subject: [PATCH] Automate player creation --- Makefile | 5 +++ lowtest.html => player.template | 9 ++--- test.html | 67 --------------------------------- 3 files changed, 9 insertions(+), 72 deletions(-) create mode 100644 Makefile rename lowtest.html => player.template (84%) delete mode 100644 test.html diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8bb4b9b --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +default: + $(MAKE) $(STREAMS:=.html) + +%.html: + sed "s/{{stream}}/$(@:.html=)/g" < player.template > $@ diff --git a/lowtest.html b/player.template similarity index 84% rename from lowtest.html rename to player.template index 0fca0e8..f5ec9fa 100644 --- a/lowtest.html +++ b/player.template @@ -15,7 +15,7 @@ height: 100%; padding: 0; margin: 0; - background-color: #1B1B1B; + background-color: #FFFFFF; } .wrapper { @@ -49,13 +49,12 @@ -
-