aboutsummaryrefslogtreecommitdiff
path: root/client/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'client/makefile')
-rw-r--r--client/makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/makefile b/client/makefile
index 2c13b6c4..ca482d53 100644
--- a/client/makefile
+++ b/client/makefile
@@ -27,7 +27,7 @@ clean:
rm -f icons/adaptive-foreground.png icons/adaptive-background.png
.godot/import-finished: $(LOCALES)
- godot --headless --import project.godot
+ if not test -e $@; then godot --headless --import project.godot; fi
touch $@
$(LT): $(shell find ../locale/tools -type f)
@@ -37,9 +37,9 @@ po/locales.csv: $(LT)
@mkdir -p po
$(LT) export-godot-csv ../locale $@
-po/%.po: ../locale/%.ini $(LT) ../locale/en.ini
+po/%.po: $(LT) ../locale/%.ini ../book/locale/%.ini ../locale/en.ini ../book/locale/en.ini
@mkdir -p po
- $(LT) export-po $< $@ --fallback ../locale/en.ini
+ $(LT) export-po $@ $(wordlist 2,99,$(^))
icons/adaptive-background.png:
ffmpeg -f lavfi -i "color=color=#E28142,scale=432x432" -frames:v 1 -y $@