summaryrefslogtreecommitdiff
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
parent308dd4ffee5455c70bd801704c1662c654881255 (diff)
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
-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
# NOTE: for some weird reasons in GNU make, multi targets rules WITH patterns actually express
# the fact that the two files are created as the result of one invocation of the rule
-$(BUILDDIR)/%.lng $(BUILDDIR)/%.vstrings: $(ROOTDIR)/%.lang $(BUILDDIR)/apps/genlang-features $(TOOLSDIR)/genlang $(TOOLSDIR)/updatelang
+$(BUILDDIR)/%.lng $(BUILDDIR)/%.vstrings: $(ROOTDIR)/%.lang $(APPSDIR)/lang/$(ENGLISH).lang $(BUILDDIR)/apps/genlang-features $(TOOLSDIR)/genlang $(TOOLSDIR)/updatelang
$(call PRINTS,GENLANG $(subst $(ROOTDIR)/,,$<))
$(SILENT)mkdir -p $(dir $@)
$(SILENT)$(TOOLSDIR)/updatelang $(APPSDIR)/lang/$(ENGLISH).lang $< $@.tmp