summaryrefslogtreecommitdiff
path: root/apps/lang/lang.make
diff options
context:
space:
mode:
Diffstat (limited to 'apps/lang/lang.make')
-rw-r--r--apps/lang/lang.make6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/lang/lang.make b/apps/lang/lang.make
index c5db820326..807ac0f53f 100644
--- a/apps/lang/lang.make
+++ b/apps/lang/lang.make
@@ -21,7 +21,7 @@ CLEANOBJS += $(BUILDDIR)/lang/max_language_size.h $(BUILDDIR)/lang/lang*
21#DUMMY := $(shell mkdir -p $(BUILDDIR)/apps/lang) 21#DUMMY := $(shell mkdir -p $(BUILDDIR)/apps/lang)
22 22
23# Calculate the maximum language size. Currently based on the file size 23# Calculate the maximum language size. Currently based on the file size
24# of the largest lng file. Subtract 10 due to HEADER_SIZE and 24# of the largest lng file. Subtract 10 due to HEADER_SIZE and
25# SUBHEADER_SIZE. 25# SUBHEADER_SIZE.
26# TODO: In the future generate this file within genlang or another script 26# TODO: In the future generate this file within genlang or another script
27# in order to only calculate the maximum size based on the core strings. 27# in order to only calculate the maximum size based on the core strings.
@@ -47,10 +47,10 @@ $(BUILDDIR)/lang_enum.h: $(BUILDDIR)/lang/lang.h
47 47
48# NOTE: for some weird reasons in GNU make, multi targets rules WITH patterns actually express 48# NOTE: for some weird reasons in GNU make, multi targets rules WITH patterns actually express
49# the fact that the two files are created as the result of one invocation of the rule 49# the fact that the two files are created as the result of one invocation of the rule
50$(BUILDDIR)/%.lng $(BUILDDIR)/%.vstrings: $(ROOTDIR)/%.lang $(BUILDDIR)/apps/genlang-features 50$(BUILDDIR)/%.lng $(BUILDDIR)/%.vstrings: $(ROOTDIR)/%.lang $(BUILDDIR)/apps/genlang-features $(TOOLSDIR)/genlang $(TOOLSDIR)/updatelang
51 $(call PRINTS,GENLANG $(subst $(ROOTDIR)/,,$<)) 51 $(call PRINTS,GENLANG $(subst $(ROOTDIR)/,,$<))
52 $(SILENT)mkdir -p $(dir $@) 52 $(SILENT)mkdir -p $(dir $@)
53 $(SILENT)$(TOOLSDIR)/genlang -u -e=$(APPSDIR)/lang/$(ENGLISH).lang $< > $@.tmp 53 $(SILENT)$(TOOLSDIR)/updatelang $(APPSDIR)/lang/$(ENGLISH).lang $< $@.tmp
54 $(SILENT)$(TOOLSDIR)/genlang -e=$(APPSDIR)/lang/$(ENGLISH).lang -t=$(MODELNAME):`cat $(BUILDDIR)/apps/genlang-features` -i=$(TARGET_ID) -b=$*.lng -c=$*.vstrings $@.tmp 54 $(SILENT)$(TOOLSDIR)/genlang -e=$(APPSDIR)/lang/$(ENGLISH).lang -t=$(MODELNAME):`cat $(BUILDDIR)/apps/genlang-features` -i=$(TARGET_ID) -b=$*.lng -c=$*.vstrings $@.tmp
55 $(SILENT)rm -f $@.tmp 55 $(SILENT)rm -f $@.tmp
56 56