blob: ab8df7627cbbff51c80d3dc3bc5ce40c9835456c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
tmpfiles := $(patsubst %.html,%.html.tmp,$(wildcard http/*.html))
rankfiles := $(patsubst %.html,%.html.ed,$(wildcard http/*.html))
$(tmpfiles):
htmlmin $(patsubst %.tmp,%,$@) $@
mv $@ $(patsubst %.tmp,%,$@)
$(rankfiles):
python editions.py $(patsubst %.ed,%,$@)
all: rankings players
minimize: $(tmpfiles)
deploy:
sshpass -p `cat config/deploy-pass` rsync -urpP http/ `cat config/deploy-path`
rankings: tables editions
tables:
bin/build-rankings.sh config/dates.json http
editions: $(rankfiles)
players:
bin/build-players.sh http
|