From c16f9142f7224007eeca9e44731db95af2b17a8e Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 6 Mar 2021 23:08:15 -0500 Subject: [PATCH] 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 --- apps/lang/lang.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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