Bug 587984 Toolkit's l10n.mk can't be included from comm-central. r=Mitch,a=bsmedberg

This commit is contained in:
Mark Banner 2010-08-19 09:28:05 +01:00
Родитель 2dc3df42d1
Коммит cc5818bf76
1 изменённых файлов: 5 добавлений и 5 удалений

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

@ -98,7 +98,7 @@ clobber-%:
PACKAGER_NO_LIBS = 1
include $(topsrcdir)/toolkit/mozapps/installer/packager.mk
include $(MOZILLA_DIR)/toolkit/mozapps/installer/packager.mk
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
@ -148,7 +148,7 @@ ifeq (WINCE,$(OS_ARCH))
$(MAKE_CAB)
endif
ifdef MOZ_MAKE_COMPLETE_MAR
$(MAKE) -C $(DEPTH)/tools/update-packaging full-update AB_CD=$(AB_CD) \
$(MAKE) -C $(MOZDEPTH)/tools/update-packaging full-update AB_CD=$(AB_CD) \
MOZ_PKG_PRETTYNAMES=$(MOZ_PKG_PRETTYNAMES) \
PACKAGE_BASE_DIR="$(_ABS_DIST)/l10n-stage" \
DIST="$(_ABS_DIST)"
@ -176,7 +176,7 @@ APP_DEFINES = $(firstword $(wildcard $(LOCALE_SRCDIR)/defines.inc) \
$(srcdir)/en-US/defines.inc)
TK_DEFINES = $(firstword \
$(wildcard $(call EXPAND_LOCALE_SRCDIR,toolkit/locales)/defines.inc) \
$(topsrcdir)/toolkit/locales/en-US/defines.inc)
$(MOZILLA_DIR)/toolkit/locales/en-US/defines.inc)
langpack-%: LANGPACK_FILE=$(_ABS_DIST)/$(PKG_LANGPACK_PATH)$(PKG_LANGPACK_BASENAME).xpi
langpack-%: AB_CD=$*
@ -184,7 +184,7 @@ langpack-%: XPI_NAME=locale-$*
langpack-%: libs-%
@echo "Making langpack $(LANGPACK_FILE)"
$(NSINSTALL) -D $(DIST)/$(PKG_LANGPACK_PATH)
$(PERL) $(topsrcdir)/config/preprocessor.pl $(DEFINES) $(ACDEFINES) -I$(TK_DEFINES) -I$(APP_DEFINES) $(srcdir)/generic/install.rdf > $(FINAL_TARGET)/install.rdf
$(PERL) $(MOZILLA_DIR)/config/preprocessor.pl $(DEFINES) $(ACDEFINES) -I$(TK_DEFINES) -I$(APP_DEFINES) $(srcdir)/generic/install.rdf > $(FINAL_TARGET)/install.rdf
cd $(DIST)/xpi-stage/locale-$(AB_CD) && \
$(ZIP) -r9D $(LANGPACK_FILE) install.rdf chrome chrome.manifest -x chrome/$(AB_CD).manifest
@ -212,7 +212,7 @@ endif
endif
generate-snippet-%:
$(PYTHON) $(topsrcdir)/tools/update-packaging/generatesnippet.py \
$(PYTHON) $(MOZILLA_DIR)/tools/update-packaging/generatesnippet.py \
--mar-path=$(_ABS_DIST)/update \
--application-ini-file=$(STAGEDIST)/application.ini \
--locale=$* \