mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
6110b6707e
The additional `ifndef IS_LANGPACK` Makefile bits turned out to be unnecessary, as langpack packaging excludes ini files: https://dxr.mozilla.org/mozilla-central/rev/20d57b9c4183973af4af5e078dff2aec0b74f928/toolkit/locales/l10n.mk#220 We already don't have this wrapping around updater.ini so it doesn't seem harmful. MozReview-Commit-ID: 7kmg1AIVLcl --HG-- extra : rebase_source : d0ea61865ad0b07054b894335f9266f19c1495f5 extra : source : 0e485a8fdc3f45ae4cdad75e010765fb48aa20c4
26 lines
1005 B
Makefile
26 lines
1005 B
Makefile
# 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
|
|
|
|
libs-%: AB_CD=$*
|
|
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-%: AB_CD=$*
|
|
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
|