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)
This commit is contained in:
Matt A. Tobin 2019-11-28 00:17:32 -05:00 • committed by Roy Tam
commit 2ddb294c26
5 changed files with 31 additions and 5 deletions

View file

@ -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 =