Commit 9f374635 authored by Taddeus Kroes's avatar Taddeus Kroes

Added channels update to Makefile

parent 198cd3bc
......@@ -3,7 +3,7 @@ STYLES := style.css
ALL := $(SCRIPTS) $(STYLES)
.PHONY: all min clean
.PHONY: all min clean channels channels.js
all: $(ALL)
......@@ -25,5 +25,10 @@ min: $(patsubst %,%.min,$(ALL))
%.css.min: %.css
curl -X POST -s --data-urlencode input@$< http://cssminifier.com/raw > $@
channels: channels.js
channels.js:
wget -O $@ http://www.tvgids.nl/json/lists/channels.php
echo window.CHANNELS=`cat $@` > $@
clean:
rm -f $(ALL)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment