summaryrefslogtreecommitdiffstats
path: root/toolkit/locales/Makefile.in
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /toolkit/locales/Makefile.in
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'toolkit/locales/Makefile.in')
-rw-r--r--toolkit/locales/Makefile.in40
1 files changed, 40 insertions, 0 deletions
diff --git a/toolkit/locales/Makefile.in b/toolkit/locales/Makefile.in
new file mode 100644
index 000000000..e20128611
--- /dev/null
+++ b/toolkit/locales/Makefile.in
@@ -0,0 +1,40 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+include $(topsrcdir)/config/rules.mk
+
+ifdef LOCALE_MERGEDIR
+vpath crashreporter.% $(LOCALE_MERGEDIR)/toolkit/crashreporter
+endif
+vpath crashreporter.% $(LOCALE_SRCDIR)/crashreporter
+ifdef LOCALE_MERGEDIR
+vpath crashreporter.% @srcdir@/en-US/crashreporter
+endif
+
+libs-%:
+ @$(MAKE) -C ../../netwerk/locales/ libs AB_CD=$* XPI_NAME=locale-$*
+ @$(MAKE) -C ../../dom/locales/ libs AB_CD=$* XPI_NAME=locale-$*
+ @$(MAKE) -C ../../security/manager/locales/ libs AB_CD=$* XPI_NAME=locale-$*
+ @$(MAKE) -C ../../devtools/shared/locales/ libs AB_CD=$* XPI_NAME=locale-$*
+ @$(MAKE) libs AB_CD=$* XPI_NAME=locale-$*
+
+# target to be used by multi-locale l10n builds, just add this locale
+# like regular chrome code
+chrome-%:
+ @$(MAKE) -C $(DEPTH)/netwerk/locales/ chrome AB_CD=$*
+ @$(MAKE) -C $(DEPTH)/dom/locales/ chrome AB_CD=$*
+ @$(MAKE) -C $(DEPTH)/security/manager/locales/ chrome AB_CD=$*
+ @$(MAKE) chrome AB_CD=$*
+
+libs:: update.locale
+ sed -e 's/%AB_CD%/$(AB_CD)/' $< > $(FINAL_TARGET)/update.locale
+
+ifdef MOZ_CRASHREPORTER
+libs:: crashreporter.ini
+ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
+ $(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/crashreporter.app/Contents/Resources
+else
+ $(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)
+endif
+endif