summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
m---------book/book-repo0
-rw-r--r--client/makefile20
2 files changed, 2 insertions, 18 deletions
diff --git a/book/book-repo b/book/book-repo
new file mode 160000
+Subproject 830ea1c06a116e999f5a00a84574715aa5cd1bf
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