summaryrefslogtreecommitdiff
path: root/system/packager/packager.mk
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2022-02-11 22:23:35 -0600
committerMatt A. Tobin <email@mattatobin.com>2022-02-11 22:23:35 -0600
commitb6ca5a687441b4cccaa62677b01a526bcb58f93b (patch)
treed30e2498dfaa27aeea99920aaa99524350eca594 /system/packager/packager.mk
parent273c210f90d4ad01719bb67e140d85927efd8c54 (diff)
downloadaura-central-b6ca5a687441b4cccaa62677b01a526bcb58f93b.tar.gz
[Packager] Add mar generation and add our new targets as mach commands
Diffstat (limited to 'system/packager/packager.mk')
-rw-r--r--system/packager/packager.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/system/packager/packager.mk b/system/packager/packager.mk
index 85f008f6c..bf968e3dc 100644
--- a/system/packager/packager.mk
+++ b/system/packager/packager.mk
@@ -73,6 +73,22 @@ endif
# ---------------------------------------------------------------------------------------------------------------------
+update: $(call mkdir_deps,$(ABS_DIST)/$(PKG_STAGE_DIR))
+ @echo 'Creating update mar (xz compressed)...'
+ MAR=$(DIST)/host/bin/mar$(HOST_BIN_SUFFIX) \
+ $(MOZILLA_DIR)/system/packager/make-update.sh \
+ '$(DIST)/$(PKG_UPDATE_FILENAME)' '$(DIST)/$(PKG_STAGE_DIR)'
+
+# ---------------------------------------------------------------------------------------------------------------------
+
+update-bz2: $(call mkdir_deps,$(ABS_DIST)/$(PKG_STAGE_DIR))
+ @echo 'Creating update mar (bz2 compressed)...'
+ MAR_OLD_FORMAT=1 MAR=$(DIST)/host/bin/mar$(HOST_BIN_SUFFIX) \
+ $(MOZILLA_DIR)/system/packager/make-update.sh \
+ '$(DIST)/$(PKG_BASENAME).complete.mar' '$(DIST)/$(PKG_STAGE_DIR)'
+
+# ---------------------------------------------------------------------------------------------------------------------
+
# Package debugging symbols
.PHONY: symbols
symbols: