From 1a7bd5788178aa8830bfa4093565c5aa151e4f96 Mon Sep 17 00:00:00 2001 From: Tom Prince Date: Wed, 18 Apr 2018 13:26:50 -0600 Subject: [PATCH] Port Bug 1436662: Package translated uninstaller; r=me CLOSED TREE DONTBUILD --HG-- extra : rebase_source : 10a7493212aff81632f732916fdc2386451285e7 --- mail/build.mk | 3 --- mail/installer/Makefile.in | 5 ----- mail/installer/windows/Makefile.in | 18 ------------------ mail/locales/Makefile.in | 16 ++-------------- 4 files changed, 2 insertions(+), 40 deletions(-) diff --git a/mail/build.mk b/mail/build.mk index 4ecbb46df2..11a0334349 100644 --- a/mail/build.mk +++ b/mail/build.mk @@ -3,9 +3,6 @@ # file, You can obtain one at http://mozilla.org/MPL/2.0/. ifndef COMM_BUILD -installer: - @$(MAKE) -C $(commtopobjdir)/mail/installer installer - package: @$(MAKE) -C $(commtopobjdir)/mail/installer diff --git a/mail/installer/Makefile.in b/mail/installer/Makefile.in index a38f9dec6a..2cdcb7a3d3 100644 --- a/mail/installer/Makefile.in +++ b/mail/installer/Makefile.in @@ -184,11 +184,6 @@ package-compare:: $(MOZ_PKG_MANIFEST) -diff -u $(DIST)/pack-list.txt $(DIST)/bin-list.txt rm -f $(DIST)/pack-list.txt $(DIST)/bin-list.txt -installer:: -ifdef INSTALLER_DIR - $(MAKE) -C $(INSTALLER_DIR) -endif - # The comm-* source stamp is already there. PLATFORM_SOURCE_STAMP = $(firstword $(shell hg -R "$(moztopsrcdir)" parent --template="{node}\n" 2>/dev/null)) PLATFORM_SOURCE_REPO = $(shell hg -R "$(moztopsrcdir)" showconfig paths.default 2>/dev/null | sed -e "s/^ssh:/https:/") diff --git a/mail/installer/windows/Makefile.in b/mail/installer/windows/Makefile.in index d47f0217a7..2b32b7678d 100644 --- a/mail/installer/windows/Makefile.in +++ b/mail/installer/windows/Makefile.in @@ -42,24 +42,6 @@ else PPL_LOCALE_ARGS=$(call EXPAND_LOCALE_SRCDIR,mail/locales)/installer endif -OVERRIDE_DEFAULT_GOAL := installer -installer:: - $(MAKE) -C .. installer-stage - $(MAKE) $(CONFIG_DIR)/setup.exe - -# For building the uninstaller during the application build so it can be -# included for mar file generation. -uninstaller:: - $(RM) -r $(CONFIG_DIR) - $(MKDIR) $(CONFIG_DIR) - $(INSTALL) $(addprefix $(srcdir)/,$(INSTALLER_FILES)) $(CONFIG_DIR) - $(INSTALL) $(addprefix $(topsrcdir)/$(MOZ_BRANDING_DIRECTORY)/,$(BRANDING_FILES)) $(CONFIG_DIR) - $(call py_action,preprocessor,-Fsubstitution $(DEFINES) $(ACDEFINES) \ - $(srcdir)/nsis/defines.nsi.in -o $(CONFIG_DIR)/defines.nsi) - $(PYTHON) $(moztopsrcdir)/toolkit/mozapps/installer/windows/nsis/preprocess-locale.py \ - --preprocess-locale $(moztopsrcdir) \ - $(PPL_LOCALE_ARGS) $(AB_CD) $(CONFIG_DIR) - # For building the maintenanceservice installer ifdef MOZ_MAINTENANCE_SERVICE maintenanceservice_installer:: diff --git a/mail/locales/Makefile.in b/mail/locales/Makefile.in index 824aabcb03..56d1d6e6e3 100644 --- a/mail/locales/Makefile.in +++ b/mail/locales/Makefile.in @@ -101,20 +101,8 @@ libs-%: @$(MAKE) -C $(DEPTH)/$(MOZ_BRANDING_DIRECTORY)/locales AB_CD=$* XPI_NAME=locale-$* -package-win32-installer: WIN32_INSTALLER_OUT=$(ABS_DIST)/$(PKG_INST_PATH)$(PKG_INST_BASENAME).exe package-win32-installer: $(SUBMAKEFILES) - @echo 'Packaging $(WIN32_INSTALLER_OUT).' - $(MAKE) -C ../installer/windows CONFIG_DIR=l10ngen l10ngen/setup.exe l10ngen/7zSD.sfx - $(RM) -r $(STAGEDIST)/uninstall - $(NSINSTALL) -D $(STAGEDIST)/uninstall - cp ../installer/windows/l10ngen/helper.exe $(STAGEDIST)/uninstall - $(RM) $(ABS_DIST)/l10n-stage/setup.exe - cp ../installer/windows/l10ngen/setup.exe $(ABS_DIST)/l10n-stage - $(NSINSTALL) -D '$(ABS_DIST)/$(PKG_INST_PATH)' - (cd $(DIST)/l10n-stage; \ - $(MAKE_PACKAGE)) - mv -f '$(DIST)/l10n-stage/$(PACKAGE)' '$(WIN32_INSTALLER_OUT)' - if test -f '$(DIST)/l10n-stage/$(PACKAGE).asc'; then mv -f '$(DIST)/l10n-stage/$(PACKAGE).asc' '$(WIN32_INSTALLER_OUT).asc'; fi + $(MAKE) -C ../installer/windows CONFIG_DIR=l10ngen ZIP_IN='$(ZIP_OUT)' installer langpack: langpack-$(AB_CD) @@ -129,7 +117,7 @@ installers-%: @$(MAKE) package-langpack-$* @$(MAKE) repackage-zip-$* ifeq (WINNT,$(OS_ARCH)) - @$(MAKE) package-win32-installer AB_CD=$* MOZ_PKG_FORMAT=SFX7Z + @$(MAKE) package-win32-installer AB_CD=$* endif @echo 'repackaging done'