summaryrefslogtreecommitdiffstats
path: root/apps/lang/lang.make
diff options
context:
space:
mode:
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)/,,$^)