Bug 652376: Migrate XPInstall Packager to the installer directory. r=robstrong, r=khuey.

--HG--
rename : xpinstall/packager/Packager.pm => toolkit/mozapps/installer/Packager.pm
rename : xpinstall/packager/pkgcp.pl => toolkit/mozapps/installer/pkgcp.pl
rename : xpinstall/packager/xptlink.pl => toolkit/mozapps/installer/xptlink.pl
This commit is contained in:
Dave Townsend 2011-11-23 15:10:06 -08:00
parent f4cd50d453
commit bac66db741
4 changed files with 3 additions and 3 deletions

View File

@ -631,7 +631,7 @@ PKG_ARG = , "$(pkg)"
# Define packager macro to work around make 3.81 backslash issue (bug #339933)
define PACKAGER_COPY
$(PERL) -I$(MOZILLA_DIR)/xpinstall/packager -e 'use Packager; \
$(PERL) -I$(MOZILLA_DIR)/toolkit/mozapps/installer -e 'use Packager; \
Packager::Copy($1,$2,$3,$4,$5,$6,$7);'
endef
@ -685,7 +685,7 @@ ifdef MOZ_PKG_MANIFEST
$(call PACKAGER_COPY, "$(call core_abspath,$(DIST))",\
"$(call core_abspath,$(DIST)/$(MOZ_PKG_DIR))", \
"$(MOZ_PKG_MANIFEST)", "$(PKGCP_OS)", 1, 0, 1)
$(PERL) $(MOZILLA_DIR)/xpinstall/packager/xptlink.pl -s $(DIST) -d $(DIST)/xpt -f $(DIST)/$(MOZ_PKG_DIR)/$(_BINPATH)/components -v -x "$(XPIDL_LINK)"
$(PERL) $(MOZILLA_DIR)/toolkit/mozapps/installer/xptlink.pl -s $(DIST) -d $(DIST)/xpt -f $(DIST)/$(MOZ_PKG_DIR)/$(_BINPATH)/components -v -x "$(XPIDL_LINK)"
$(PYTHON) $(MOZILLA_DIR)/toolkit/mozapps/installer/link-manifests.py \
$(DIST)/$(MOZ_PKG_DIR)/$(_BINPATH)/components/components.manifest \
$(patsubst %,$(DIST)/manifests/%/components,$(MOZ_NONLOCALIZED_PKG_LIST))

View File

@ -95,7 +95,7 @@ if (! $return)
}
# ensure that Packager.pm is in @INC, since we might not be called from
# mozilla/xpinstall/packager.
# mozilla/toolkit/mozapps/installer.
$top_path = $0;
if ( $os eq "dos" ) {
$top_path =~ s/\\/\//g;