summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-07-04 15:55:04 +0200
committeremkael <emkael@tlen.pl>2017-07-04 15:55:46 +0200
commitdc597e9fbf9ea78110905649cf39df5a1662c1d8 (patch)
tree93712259d14d6d016800d3c48369ae26ec331c8c /Makefile
parent7ad97251669963ec81eb9e808e9a8890939a1b1a (diff)
Build scripts for static content and menu
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c3b51b0..f7725fa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-all: rankings players
+all: statics rankings players menus
targetfiles := $(shell bin/target-ranking-files.sh config/dates.json)
tmpfiles := $(patsubst %.html,http/%.html.tmp,$(targetfiles))
@@ -17,6 +17,12 @@ $(rankfiles):
players:
bin/build-players.sh http
+statics:
+ bin/generate-statics.sh config/static.json static http
+
+menus:
+ bin/write-menus.sh config/static.json http
+
minimize: $(tmpfiles)
$(tmpfiles):