summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 =