bug 537481 - Don't ship dictionaries with language packs, r=l10n@mozilla.com

This commit is contained in:
Robert Kaiser 2010-01-10 23:24:55 +01:00
Родитель 9d4585d7cc
Коммит a8d9ff0574
1 изменённых файлов: 1 добавлений и 5 удалений

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

@ -362,11 +362,7 @@ langpack-%: libs-%
@$(NSINSTALL) -D $(DIST)/$(PKG_LANGPACK_PATH) @$(NSINSTALL) -D $(DIST)/$(PKG_LANGPACK_PATH)
$(PYTHON) $(MOZILLA_SRCDIR)/config/Preprocessor.py $(DEFINES) $(ACDEFINES) -I$(call EXPAND_LOCALE_SRCDIR,toolkit/locales)/defines.inc -I$(LOCALE_SRCDIR)/defines.inc $(srcdir)/generic/install.rdf > $(FINAL_TARGET)/install.rdf $(PYTHON) $(MOZILLA_SRCDIR)/config/Preprocessor.py $(DEFINES) $(ACDEFINES) -I$(call EXPAND_LOCALE_SRCDIR,toolkit/locales)/defines.inc -I$(LOCALE_SRCDIR)/defines.inc $(srcdir)/generic/install.rdf > $(FINAL_TARGET)/install.rdf
cd $(DIST)/xpi-stage/locale-$(AB_CD) && \ cd $(DIST)/xpi-stage/locale-$(AB_CD) && \
if test -d dictionaries; then \ $(ZIP) -r9D $(LANGPACK_FILE) install.rdf chrome chrome.manifest -x chrome/$(AB_CD).manifest
$(ZIP) -r9D $(LANGPACK_FILE) install.rdf chrome chrome.manifest defaults dictionaries searchplugins -x chrome/$(AB_CD).manifest; \
else \
$(ZIP) -r9D $(LANGPACK_FILE) install.rdf chrome chrome.manifest defaults searchplugins -x chrome/$(AB_CD).manifest; \
fi
# This is a generic target that will make a langpack, repack ZIP (+tarball) # This is a generic target that will make a langpack, repack ZIP (+tarball)
# builds, and repack an installer if applicable. It is called from the # builds, and repack an installer if applicable. It is called from the