diff options
author | tpart <tpart120@proton.me> | 2025-01-16 20:16:23 +0100 |
---|---|---|
committer | tpart <tpart120@proton.me> | 2025-01-16 20:16:23 +0100 |
commit | 559e71d57b4d0c79868ed666b92c2ccb384d470e (patch) | |
tree | 1e0e75d517af21f1200f23f56344ca1d2353a512 /client/makefile | |
parent | 9c537468b776b47f72070b0709befc49cea620c2 (diff) | |
download | hurrycurry-559e71d57b4d0c79868ed666b92c2ccb384d470e.tar hurrycurry-559e71d57b4d0c79868ed666b92c2ccb384d470e.tar.bz2 hurrycurry-559e71d57b4d0c79868ed666b92c2ccb384d470e.tar.zst |
update client makefile to new translation system
Diffstat (limited to 'client/makefile')
-rw-r--r-- | client/makefile | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/client/makefile b/client/makefile index c1de78c2..70b2b9fd 100644 --- a/client/makefile +++ b/client/makefile @@ -1,5 +1,6 @@ # Hurry Curry! - a game about cooking # Copyright 2024 metamuffin +# Copyright 2024 tpart # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by @@ -13,14 +14,8 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <https://www.gnu.org/licenses/>. # - -LOCALES = $(patsubst ../locale/%.ini,po/%.po,$(wildcard ../locale/*.ini)) - .PHONY: assets clean all locales -all: .godot/import-finished locales icons/adaptive-background.png icons/adaptive-foreground.png -locales: $(LOCALES) - -LT = ../target/release/localetool +all: .godot/import-finished icons/adaptive-background.png icons/adaptive-foreground.png clean: rm -f menu/book/book_*.webp @@ -30,17 +25,6 @@ clean: if test ! -e $@; then godot --headless --import project.godot; fi touch $@ -$(LT): $(shell find ../locale/tools -type f) - { cd ..; cargo $(CARGOFLAGS) build --release --bin localetool; } - -po/locales.csv: $(LT) - @mkdir -p po - $(LT) export-godot-csv ../locale $@ - -po/%.po: $(LT) ../locale/%.ini ../book/locale/%.ini ../locale/en.ini ../book/locale/en.ini - @mkdir -p po - $(LT) export-po $@ $(wordlist 2,99,$(^)) - icons/adaptive-background.png: ffmpeg -f lavfi -i "color=color=#E28142,scale=432x432" -frames:v 1 -y $@ icons/adaptive-foreground.png: icons/main.png |