Bug 730328 - Sign Thunderbird builds using auto-signing - port build config changes. r+a=Standard8
authorRail Aliiev <rail@mozilla.com>
Tue, 22 May 2012 13:16:07 -0400
changeset 11347 54f80067644ef41e5d79f7b5998e45079349d34d
parent 11346 6a1d10115b3886a54695d7a3af951967ad08bf3a
child 11348 da6af1c55a328769a5cda979820c8f63bcd2a217
push id511
push userbugzilla@standard8.plus.com
push dateMon, 28 May 2012 15:03:40 +0000
treeherdercomm-beta@54f80067644e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs730328
Bug 730328 - Sign Thunderbird builds using auto-signing - port build config changes. r+a=Standard8
client.mk
mail/build.mk
mail/installer/Makefile.in
--- a/client.mk
+++ b/client.mk
@@ -221,17 +221,17 @@ everything: clean build
 ifdef MOZ_OBJDIR
   PGO_OBJDIR = $(MOZ_OBJDIR)
 else
   PGO_OBJDIR := $(TOPSRCDIR)
 endif
 
 profiledbuild::
 	$(MAKE) -f $(TOPSRCDIR)/client.mk build MOZ_PROFILE_GENERATE=1
-	$(MAKE) -C $(PGO_OBJDIR) package
+	$(MAKE) -C $(PGO_OBJDIR) stage-package
 	OBJDIR=${PGO_OBJDIR} $(PROFILE_GEN_SCRIPT)
 	$(MAKE) -f $(TOPSRCDIR)/client.mk maybe_clobber_profiledbuild
 	$(MAKE) -f $(TOPSRCDIR)/client.mk build MOZ_PROFILE_USE=1
 
 #####################################################
 # Build date unification
 
 ifdef MOZ_UNIFY_BDATE
--- a/mail/build.mk
+++ b/mail/build.mk
@@ -80,16 +80,19 @@ installer:
 	@$(MAKE) -C mail/installer installer
 
 package:
 	@$(MAKE) -C mail/installer
 
 package-compare:
 	@$(MAKE) -C mail/installer package-compare
 
+stage-package:
+	@$(MAKE) -C mail/installer stage-package
+
 install::
 	@$(MAKE) -C mail/installer install
 
 source-package::
 	@$(MAKE) -C mail/installer source-package
 
 upload::
 	@$(MAKE) -C mail/installer upload
--- a/mail/installer/Makefile.in
+++ b/mail/installer/Makefile.in
@@ -106,16 +106,17 @@ endif
 NON_OMNIJAR_FILES = defaults/messenger/mailViews.dat
 
 ifndef LIBXUL_SDK
 INSTALL_SDK = 1
 endif
 
 GENERATE_CACHE=1
 
+include $(MOZILLA_SRCDIR)/toolkit/mozapps/installer/signing.mk
 include $(MOZILLA_SRCDIR)/toolkit/mozapps/installer/packager.mk
 
 ifeq (Darwin, $(OS_ARCH))
 BINPATH = $(_BINPATH)
 DEFINES += -DAPPNAME=$(_APPNAME)
 else
 BINPATH = bin
 endif