summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-09-07 14:25:25 +0200
committeremkael <emkael@tlen.pl>2017-09-07 14:25:25 +0200
commit91b4d644cf8064457d5365dc1642ad8ab5f87be3 (patch)
tree5953aa85e47ab5286cda000816c6b43ea8ce6527 /Makefile
parent5a38d64cddc7cef197b5f7ac63b5fb97a72c80da (diff)
Pre-generating menu content for ranking pages
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index edf9cb0..7ccc986 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,17 @@
-all: statics rankings players menus
+all: statics rankings players
targetfiles := $(shell bin/target-ranking-files.sh config/dates.json)
tmpfiles := $(patsubst %.html,http/%.html.tmp,$(targetfiles))
rankfiles := $(patsubst %.html,http/%.html.ed,$(targetfiles))
-rankings: datafiles tables editions json
+rankings: datafiles menus tables editions json
datafiles:
bin/build-datafiles.sh config/dates.json http/_data
+menus:
+ bin/write-menus.sh config/static.json http
+
tables:
bin/build-rankings.sh config/dates.json http
@@ -27,9 +30,6 @@ statics:
python scripts/generate-static-menu.py config/static.json http http > http/.menu.html
bin/generate-statics.sh config/static.json static http
-menus:
- bin/write-menus.sh config/static.json http
-
group-tools:
python scripts/static.py static/group-intro.html static/group-form-loading.html static/group-form.html > http/ranking-grupowy.html
python scripts/generate-static-menu.py config/static.json http http > http/.menu.html