diff --git a/tools/update-packaging/Makefile.in b/tools/update-packaging/Makefile.in index 0286be7e7ad7..b2af93ea91a3 100644 --- a/tools/update-packaging/Makefile.in +++ b/tools/update-packaging/Makefile.in @@ -21,6 +21,7 @@ # # Contributor(s): # Darin Fisher +# Chase Phillips # # Alternatively, the contents of this file may be used under the terms of # either of the GNU General Public License Version 2 or later (the "GPL"), @@ -54,8 +55,21 @@ else PACKAGE_DIR = $(DIST)/$(MOZ_PKG_APPNAME) endif -full-update:: +full-update:: complete-patch + +complete-patch:: mkdir -p $(STAGE_DIR) - MAR=$(DIST)/host/bin/mar $(srcdir)/make_full_update.sh "$(STAGE_DIR)/$(PKG_BASENAME).mar" "$(PACKAGE_DIR)" + MAR=$(DIST)/host/bin/mar \ + $(srcdir)/make_full_update.sh \ + "$(STAGE_DIR)/$(PKG_BASENAME).complete.mar" \ + "$(PACKAGE_DIR)" + +partial-patch:: + mkdir -p $(STAGE_DIR) + MAR=$(DIST)/host/bin/mar \ + $(srcdir)/make_incremental_update.sh \ + "$(STAGE_DIR)/$(PKG_BASENAME).partial.$(SRC_BUILD_ID)-$(DST_BUILD_ID).mar" \ + "$(SRC_BUILD)" \ + "$(DST_BUILD)" include $(topsrcdir)/config/rules.mk