summaryrefslogtreecommitdiffstats
path: root/apps/lang/lang.make
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-12-11 16:15:02 -0500
committerSolomon Peachy <pizza@shaftnet.org>2020-12-11 16:15:02 -0500
commit227ac2b7153d921169b8f3a5eace9070c5aaa1c5 (patch)
tree6d66726774855a1a761ea0950c115e2d22079a59 /apps/lang/lang.make
parent60139cf9f122e2b78c302b627417f54ad729c366 (diff)
downloadrockbox-227ac2b715.tar.gz
rockbox-227ac2b715.tar.bz2
rockbox-227ac2b715.zip
voice: Add voice-corrections.txt to voicestrings.zip
This is in keeping with un-hardcoding stuff from rbutil. Change-Id: I8409c203bbe378a2cb9994ac0a327e9a324ff52d
Diffstat (limited to 'apps/lang/lang.make')
-rw-r--r--apps/lang/lang.make5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/lang/lang.make b/apps/lang/lang.make
index 73b6dce3de..d2a5efaaff 100644
--- a/apps/lang/lang.make
+++ b/apps/lang/lang.make
@@ -54,7 +54,10 @@ $(BUILDDIR)/%.lng $(BUILDDIR)/%.vstrings: $(ROOTDIR)/%.lang $(BUILDDIR)/apps/gen
$(SILENT)$(TOOLSDIR)/genlang -e=$(APPSDIR)/lang/$(ENGLISH).lang -t=$(MODELNAME):`cat $(BUILDDIR)/apps/genlang-features` -i=$(TARGET_ID) -b=$*.lng -c=$*.vstrings $@.tmp
$(SILENT)rm -f $@.tmp
-$(BUILDDIR)/apps/lang/voicestrings.zip: $(VOICEOBJ) $(wildcard $(BUILDDIR)/apps/lang/*.talk)
+$(BUILDDIR)/apps/lang/voice-corrections.txt: $(ROOTDIR)/tools/voice-corrections.txt
+ $(call PRINTS,CP $(subst $(ROOTDIR)/,,$<))cp $< $@
+
+$(BUILDDIR)/apps/lang/voicestrings.zip: $(VOICEOBJ) $(wildcard $(BUILDDIR)/apps/lang/*.talk) $(BUILDDIR)/apps/lang/voice-corrections.txt
$(call PRINTS,ZIP $(subst $(BUILDDIR)/,,$@))
$(SILENT)zip -9 -q $@ $(subst $(BUILDDIR)/,,$^)