mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-07 05:15:09 +00:00
0d6c1e30f1
This change moves update.locale generation to moz.build using LOCALIZED_GENERATED_FILES. Since the existing Makefile rules were simply putting the name of the locale into the output file, the input template has been removed and the generation script just writes the name of the locale to the output. MozReview-Commit-ID: 8FT2tpHpaa2 --HG-- extra : rebase_source : 8822645edf6f07cc2d16b7c8998a6ce09d3a25cb
23 lines
918 B
Makefile
23 lines
918 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=$*
|