From 91b4d644cf8064457d5365dc1642ad8ab5f87be3 Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 7 Sep 2017 14:25:25 +0200 Subject: Pre-generating menu content for ranking pages --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3