Bug 1133428 - l10n repackages should survive searchplugins missing. bustage fix. r=Callek a=Callek on a CLOSED TREE
authorEdmund Wong <ewong@pw-wspx.org>
Mon, 23 Feb 2015 13:49:01 +0800
changeset 25671 d181c2882739bcbdb51a368f52ad3a351dc37468
parent 25668 9b5dc9623403c201f1c28e46d2efee2634f0fa96
child 25674 40e3dd48207816a16293f80cf698d9381ba1a7a3
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersCallek, Callek
bugs1133428
Bug 1133428 - l10n repackages should survive searchplugins missing. bustage fix. r=Callek a=Callek on a CLOSED TREE
suite/locales/Makefile.in
--- a/suite/locales/Makefile.in
+++ b/suite/locales/Makefile.in
@@ -112,20 +112,21 @@ libs:: $(FINAL_TARGET)/defaults/profile/
 
 libs:: $(addprefix generic/profile/,$(PROFILE_FILES))
 	$(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/defaults/profile
 
 libs:: $(call MERGE_FILES,$(addprefix profile/chrome/,$(PROFILE_CHROME)))
 	$(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/defaults/profile/chrome
 
 SEARCH_PLUGINS_NAMES = $(shell cat $(call MERGE_FILE,searchplugins/list.txt))
+SEARCH_PLUGINS_PATH := $(FINAL_TARGET)/searchplugins
+.PHONY: searchplugins
+SEARCH_PLUGINS_TARGET := libs searchplugins
 SEARCH_PLUGINS := $(foreach plugin,$(addsuffix .xml,$(SEARCH_PLUGINS_NAMES)),$(or $(wildcard $(call MERGE_FILE,searchplugins/$(plugin))),$(info Missing searchplugin: $(plugin))))
- 
-libs:: $(addsuffix .xml,$(SEARCH_PLUGINS))
-	$(SYSINSTALL) $(IFLAGS1) $^ $(FINAL_TARGET)/searchplugins
+PP_TARGETS += SEARCH_PLUGINS
 
 # Extend l10n.mk clobber-% target for our localised extensions
 clobber-%:
 	$(RM) -rf $(DIST)/xpi-stage/chatzilla-$* $(DIST)/xpi-stage/chatzilla-*.$*.xpi
 
 libs-%:
 	$(NSINSTALL) -D $(DIST)/install
 	@$(MAKE) -C $(DEPTH)/toolkit/locales libs-$*