bug 519682, add chrome-% target to just create l10n jars for multilocale builds, r=ted
authorAxel Hecht <l10n@mozilla.com>
Thu, 08 Oct 2009 12:19:25 +0200
changeset 33666 ee06be6166bc562aedae37510cec3b74ae48ad07
parent 33665 abe269bb23ef1c5b2f944c63c62f210537debf4b
child 33667 e36c57772b2ed1429c6a270f576e33b68b07d537
push idunknown
push userunknown
push dateunknown
reviewersted
bugs519682
milestone1.9.3a1pre
bug 519682, add chrome-% target to just create l10n jars for multilocale builds, r=ted
toolkit/locales/Makefile.in
--- a/toolkit/locales/Makefile.in
+++ b/toolkit/locales/Makefile.in
@@ -63,16 +63,25 @@ endif
 libs-%:
 	@$(MAKE) -C ../../netwerk/locales/ libs AB_CD=$* XPI_NAME=locale-$*
 	@$(MAKE) -C ../../dom/locales/ libs AB_CD=$* XPI_NAME=locale-$*
 ifdef MOZ_PSM
 	@$(MAKE) -C ../../security/manager/locales/ libs AB_CD=$* XPI_NAME=locale-$*
 endif
 	@$(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-%:
+	@$(MAKE) -C $(DEPTH)/netwerk/locales/ chrome AB_CD=$*
+	@$(MAKE) -C $(DEPTH)/dom/locales/ chrome AB_CD=$*
+ifdef MOZ_PSM
+	@$(MAKE) -C $(DEPTH)/security/manager/locales/ chrome AB_CD=$*
+endif
+	@$(MAKE) chrome AB_CD=$*
 
 ifdef MOZ_UPDATER
 libs:: update.locale
 	cat $< | sed -e "s/%AB_CD%/$(AB_CD)/" > $(FINAL_TARGET)/update.locale
 endif
 
 ifdef MOZ_CRASHREPORTER
 libs:: crashreporter.ini