summaryrefslogtreecommitdiffstats
path: root/application/palemoon/installer
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2019-11-28 00:17:32 -0500
committerMatt A. Tobin <email@mattatobin.com>2019-11-28 00:17:32 -0500
commit064790189c1930067e2c78bbeb2a9488e1f45f57 (patch)
tree3b6b4358ca4fb9ca326a280932aafab5c5dca920 /application/palemoon/installer
parent52cb294d2a5408d5eac6ac4ad5285165c6877932 (diff)
downloadUXP-064790189c1930067e2c78bbeb2a9488e1f45f57.tar
UXP-064790189c1930067e2c78bbeb2a9488e1f45f57.tar.gz
UXP-064790189c1930067e2c78bbeb2a9488e1f45f57.tar.lz
UXP-064790189c1930067e2c78bbeb2a9488e1f45f57.tar.xz
UXP-064790189c1930067e2c78bbeb2a9488e1f45f57.zip
Issue #1303 - Add langpack generation targets for Pale Moon and Basilisk
* The langpack is not generated via the package target but IS for mozpackage target using old behavior * Add mach command to specifically generate the langpack when needed without the rest of the packaging routine (mach langpack)
Diffstat (limited to 'application/palemoon/installer')
-rw-r--r--application/palemoon/installer/Makefile.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/application/palemoon/installer/Makefile.in b/application/palemoon/installer/Makefile.in
index c02cdf96a..b3c4cdaba 100644
--- a/application/palemoon/installer/Makefile.in
+++ b/application/palemoon/installer/Makefile.in
@@ -156,9 +156,16 @@ endif
endif
endif
-
-libs::
+# Builds using the hybrid FasterMake/RecursiveMake backend will
+# fail to produce a langpack. See bug 1255096.
+make-langpack:
+ifeq (,$(filter FasterMake+RecursiveMake,$(BUILD_BACKENDS)))
$(MAKE) -C $(DEPTH)/application/palemoon/locales langpack
+else
+ @echo WARNING: "Language Pack was not generated due to using the hybrid FasterMake/RecursiveMake backend." >&2
+endif
+
+libs:: make-langpack
ifeq (WINNT,$(OS_ARCH))
PKGCOMP_FIND_OPTS =