1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 for loc in
$(MOZ_CO_LOCALES
); do \
11 for mod in
$(sort $(foreach project
,$(MOZ_PROJECT_LIST
),$(LOCALES_
$(project
)))); do \
12 echo Comparing
$(TOPSRCDIR
)/$$mod/locales
/en-US with
$(TOPSRCDIR
)/..
/l10n
/$$loc/$$mod; \
13 perl
$(TOPSRCDIR
)/toolkit
/locales
/compare-locales.pl
$(TOPSRCDIR
)/$$mod/locales
/en-US
$(TOPSRCDIR
)/..
/l10n
/$$loc/$$mod; \
18 for mod in
$(sort $(foreach project
,$(MOZ_PROJECT_LIST
),$(LOCALES_
$(project
)))); do \
19 if
test -d
$(TOPSRCDIR
)/..
/l10n
/$*/$$mod; then \
20 echo
$(TOPSRCDIR
)/..
/l10n
/$*/$$mod already exists
; \
22 echo Creating
$(TOPSRCDIR
)/..
/l10n
/$*/$$mod from
$(TOPSRCDIR
)/$$mod/locales
/en-US
; \
23 mkdir
-p ..
/l10n
/$*/$$mod; \
24 cp
-r
$(TOPSRCDIR
)/$$mod/locales
/en-US
/* $(TOPSRCDIR
)/..
/l10n
/$*/$$mod; \
25 find
$(TOPSRCDIR
)/..
/l10n
/$*/$$mod -name CVS | xargs
rm -rf
; \