From 13e5db0637204b9164ed5cab4cef129505548407 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 7 Feb 2023 17:30:13 +0100 Subject: Python 2.x -> 3.x conversion --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b2f0ef1..1bb83cf 100644 --- a/Makefile +++ b/Makefile @@ -20,33 +20,33 @@ tables: editions: $(rankfiles) $(rankfiles): - python scripts/rankings-editions.py $(patsubst %.ed,%,$@) + python3 scripts/rankings-editions.py $(patsubst %.ed,%,$@) players: player-pages player-data player-pages: menus mkdir -p http/players - python scripts/players-prepare-template.py http/players http/players/.menu.html + python3 scripts/players-prepare-template.py http/players http/players/.menu.html player-data: - python scripts/players-compile.py config/dates.json http/players + python3 scripts/players-compile.py config/dates.json http/players statics: - python scripts/menus-compile.py config/static.json http http > http/.menu.html + python3 scripts/menus-compile.py config/static.json http http > http/.menu.html bin/statics-generate.sh config/static.json static http group-json: bin/group-tools-json.sh config/dates.json http group-tools: - python scripts/statics-compile.py static/group-intro.html static/group-form-loading.html static/group-form.html > http/ranking-grupowy.html - python scripts/menus-compile.py config/static.json http http > http/.menu.html - python scripts/menus-write.py http/ranking-grupowy.html http/.menu.html + python3 scripts/statics-compile.py static/group-intro.html static/group-form-loading.html static/group-form.html > http/ranking-grupowy.html + python3 scripts/menus-compile.py config/static.json http http > http/.menu.html + python3 scripts/menus-write.py http/ranking-grupowy.html http/.menu.html minimize: $(tmpfiles) $(tmpfiles): - python -m htmlmin.command $(patsubst %.tmp,%,$@) $@ + python3 -m htmlmin.command $(patsubst %.tmp,%,$@) $@ mv $@ $(patsubst %.tmp,%,$@) deploy: -- cgit v1.2.3