diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-04-19 11:51:49 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-04-19 11:51:49 +0200 |
commit | cd68a2d8e730b7155e0f70c20601a53dd98147c4 (patch) | |
tree | 75cd4afdf59c87ba93e191a699972b29e08d7de7 | |
parent | acf95284e7d9b00d4ab1e526dc5f12b4d29bdff1 (diff) | |
download | UXP-cd68a2d8e730b7155e0f70c20601a53dd98147c4.tar UXP-cd68a2d8e730b7155e0f70c20601a53dd98147c4.tar.gz UXP-cd68a2d8e730b7155e0f70c20601a53dd98147c4.tar.lz UXP-cd68a2d8e730b7155e0f70c20601a53dd98147c4.tar.xz UXP-cd68a2d8e730b7155e0f70c20601a53dd98147c4.zip |
Error out on missing or searchplugin or empty list.
-rw-r--r-- | browser/locales/Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/browser/locales/Makefile.in b/browser/locales/Makefile.in index af200147f..b8aee0f14 100644 --- a/browser/locales/Makefile.in +++ b/browser/locales/Makefile.in @@ -61,10 +61,10 @@ STUB_HOOK = $(NSINSTALL) -D '$(ABS_DIST)/$(PKG_INST_PATH)'; \ $(NULL) endif -SEARCHPLUGINS_FILENAMES := $(shell $(call py_action,output_searchplugins_list,$(srcdir)/search/list.json $(AB_CD))) +SEARCHPLUGINS_FILENAMES := $(or $(shell $(call py_action,output_searchplugins_list,$(srcdir)/search/list.json $(AB_CD))), $(error Missing search plugins)) SEARCHPLUGINS_PATH := .deps/generated_$(AB_CD) SEARCHPLUGINS_TARGET := libs searchplugins -SEARCHPLUGINS := $(foreach plugin,$(addsuffix .xml,$(SEARCHPLUGINS_FILENAMES)),$(or $(wildcard $(srcdir)/searchplugins/$(plugin)),$(warning Missing searchplugin: $(plugin)))) +SEARCHPLUGINS := $(foreach plugin,$(addsuffix .xml,$(SEARCHPLUGINS_FILENAMES)),$(or $(wildcard $(srcdir)/searchplugins/$(plugin)),$(error Missing searchplugin: $(plugin)))) # Some locale-specific search plugins may have preprocessor directives, but the # default en-US ones do not. SEARCHPLUGINS_FLAGS := --silence-missing-directive-warnings |