From ac91fdbcb319b7aca5c2b8cc406997e331efbec8 Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 7 Sep 2017 14:23:19 +0200 Subject: Pre-generated menus for static pages (and group tool pages) --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 99f0d04..edf9cb0 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,7 @@ players: bin/build-players.sh http 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: @@ -31,7 +32,8 @@ menus: 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/static-menu.py config/static.json http/ranking-grupowy.html http + python scripts/generate-static-menu.py config/static.json http http > http/.menu.html + python scripts/static-menu.py http/ranking-grupowy.html http/.menu.html minimize: $(tmpfiles) @@ -40,6 +42,7 @@ $(tmpfiles): mv $@ $(patsubst %.tmp,%,$@) deploy: + find http -type f -name .menu.html -delete bin/deploy.sh clean: -- cgit v1.2.3