bug 339783, stop shipping sherlock plugins

This commit is contained in:
axel%pike.org 2006-06-09 14:26:28 +00:00
Родитель 61618ecc89
Коммит a03e79b499
1 изменённых файлов: 7 добавлений и 16 удалений

Просмотреть файл

@ -45,6 +45,9 @@ include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/config.mk include $(topsrcdir)/config/config.mk
vpath %.xml @srcdir@/en-US/searchplugins
vpath %.xml $(LOCALE_SRCDIR)/searchplugins
run_for_effects := $(shell if ! test -d $(DIST); then $(NSINSTALL) -D $(DIST); fi; if ! test -d $(DIST)/branding; then $(NSINSTALL) -D $(DIST)/branding; fi) run_for_effects := $(shell if ! test -d $(DIST); then $(NSINSTALL) -D $(DIST); fi; if ! test -d $(DIST)/branding; then $(NSINSTALL) -D $(DIST)/branding; fi)
_ABS_DIST := $(shell cd $(DIST) && pwd) _ABS_DIST := $(shell cd $(DIST) && pwd)
@ -123,24 +126,12 @@ install:: $(addprefix $(LOCALE_SRCDIR)/profile/chrome/,$(PROFILE_CHROME))
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/defaults/profile/chrome $(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/defaults/profile/chrome
SEARCH_PLUGINS = $(shell cat $(LOCALE_SRCDIR)/searchplugins/list.txt) SEARCH_PLUGINS = $(shell cat $(LOCALE_SRCDIR)/searchplugins/list.txt)
SEARCH_PLUGIN_PREFIX = $(addprefix $(LOCALE_SRCDIR)/searchplugins/,$(SEARCH_PLUGINS))
SEARCH_XML_FILES := $(foreach base,$(SEARCH_PLUGIN_PREFIX),$(wildcard $(base).xml)) libs:: $(addsuffix .xml,$(SEARCH_PLUGINS))
SEARCH_SHERLOCK_FILES := $(addsuffix .src,$(SEARCH_PLUGIN_PREFIX)) $(foreach base,$(SEARCH_PLUGIN_PREFIX),$(wildcard $(base).gif)$(wildcard $(base).png)) $(INSTALL) $^ $(FINAL_TARGET)/searchplugins
libs:: install:: $(addsuffix .xml,$(SEARCH_PLUGINS))
ifneq (,$(strip $(SEARCH_XML_FILES))) $(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/searchplugins
$(INSTALL) $(SEARCH_XML_FILES) $(FINAL_TARGET)/searchplugins
else
$(INSTALL) $(SEARCH_SHERLOCK_FILES) $(FINAL_TARGET)/searchplugins
endif
install::
ifneq (,$(strip $(SEARCH_XML_FILES)))
$(SYSINSTALL) $(IFLAGS1) $(SEARCH_XML_FILES) $(DESTDIR)$(mozappdir)/searchplugins
else
$(SYSINSTALL) $(IFLAGS1) $(SEARCH_SHERLOCK_FILES) $(DESTDIR)$(mozappdir)/searchplugins
endif
MICROSUMMARY_GENERATORS = $(shell cat $(LOCALE_SRCDIR)/microsummary-generators/list.txt) MICROSUMMARY_GENERATORS = $(shell cat $(LOCALE_SRCDIR)/microsummary-generators/list.txt)
MICROSUMMARY_GENERATOR_PREFIX = $(addprefix $(LOCALE_SRCDIR)/microsummary-generators/,$(MICROSUMMARY_GENERATORS)) MICROSUMMARY_GENERATOR_PREFIX = $(addprefix $(LOCALE_SRCDIR)/microsummary-generators/,$(MICROSUMMARY_GENERATORS))