summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Groman <tgroman@nuegia.net>2019-12-16 22:58:40 -0800
committerThomas Groman <tgroman@nuegia.net>2019-12-16 22:58:40 -0800
commit004e9d310009ca8999c99bf4023738e894753ab3 (patch)
treefaeed5214e18834dd4e9d90d085bc54df0e4718a
parentad0c07e271042435a3be6c787d4aa9188f9b862e (diff)
downloadwebbrowser-004e9d310009ca8999c99bf4023738e894753ab3.tar
webbrowser-004e9d310009ca8999c99bf4023738e894753ab3.tar.gz
webbrowser-004e9d310009ca8999c99bf4023738e894753ab3.tar.lz
webbrowser-004e9d310009ca8999c99bf4023738e894753ab3.tar.xz
webbrowser-004e9d310009ca8999c99bf4023738e894753ab3.zip
build langpacks when using UXP packager
-rw-r--r--build.mk5
-rw-r--r--installer/Makefile.in11
2 files changed, 13 insertions, 3 deletions
diff --git a/build.mk b/build.mk
index c19e65d..62f25ce 100644
--- a/build.mk
+++ b/build.mk
@@ -8,8 +8,11 @@ installer:
package:
@$(MAKE) -C application/webbrowser/installer make-archive
+l10n-package:
+ @$(MAKE) -C application/webbrowser/installer make-langpack
+
mozpackage:
- @$(MAKE) -C application/webbrowser/installer make-package
+ @$(MAKE) -C application/webbrowser/installer
package-compare:
@$(MAKE) -C application/webbrowser/installer package-compare
diff --git a/installer/Makefile.in b/installer/Makefile.in
index c02cdf9..22d4679 100644
--- a/installer/Makefile.in
+++ b/installer/Makefile.in
@@ -156,9 +156,16 @@ endif
endif
endif
+# Builds using the hybrid FasterMake/RecursiveMake backend will
+# fail to produce a langpack. see PaleMoon bug 1255096
+make-langpack:
+ifeq (,$(filter FasterMake+RecursiveMake,$(BUILD_BACKENDS)))
+ $(MAKE) -C $(DEPTH)/application/webbrowser/locales langpack
+else
+ @echo WARNING: "Language Pack was not generated due to using the hybrid FasterMake/RecursiveMake backend." >&2
+endif
-libs::
- $(MAKE) -C $(DEPTH)/application/palemoon/locales langpack
+libs:: make-langpack
ifeq (WINNT,$(OS_ARCH))
PKGCOMP_FIND_OPTS =