diff options
author | emkael <emkael@tlen.pl> | 2017-09-07 14:25:25 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-09-07 14:25:25 +0200 |
commit | 91b4d644cf8064457d5365dc1642ad8ab5f87be3 (patch) | |
tree | 5953aa85e47ab5286cda000816c6b43ea8ce6527 /Makefile | |
parent | 5a38d64cddc7cef197b5f7ac63b5fb97a72c80da (diff) |
Pre-generating menu content for ranking pages
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |