summaryrefslogtreecommitdiff
path: root/apps/lang
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-03-06 23:08:15 -0500
committerSolomon Peachy <pizza@shaftnet.org>2021-03-07 04:10:47 +0000
commitc16f9142f7224007eeca9e44731db95af2b17a8e (patch)
tree09c7e16cd9563dac71aad6862c10aaf3359206cd /apps/lang
parent308dd4ffee5455c70bd801704c1662c654881255 (diff)
downloadrockbox-c16f9142f7224007eeca9e44731db95af2b17a8e.tar.gz
rockbox-c16f9142f7224007eeca9e44731db95af2b17a8e.zip
build: Make all other language files "depend" on english.lang
If we update english.lang, we need to re-run genlang on the other language files so any changes are picked up. Change-Id: I7d296b3cc814871e881bdeac2784e64705bde10b
Diffstat (limited to 'apps/lang')
-rw-r--r--apps/lang/lang.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/lang/lang.make b/apps/lang/lang.make
index fffcf20d45..94a12254a5 100644
--- a/apps/lang/lang.make
+++ b/apps/lang/lang.make
@@ -47,7 +47,7 @@ $(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 $(TOOLSDIR)/genlang $(TOOLSDIR)/updatelang 50$(BUILDDIR)/%.lng $(BUILDDIR)/%.vstrings: $(ROOTDIR)/%.lang $(APPSDIR)/lang/$(ENGLISH).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)/updatelang $(APPSDIR)/lang/$(ENGLISH).lang $< $@.tmp 53 $(SILENT)$(TOOLSDIR)/updatelang $(APPSDIR)/lang/$(ENGLISH).lang $< $@.tmp