summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.bundle.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.bundle.in b/Makefile.bundle.in
index e6ec689b2..bb4b09314 100644
--- a/Makefile.bundle.in
+++ b/Makefile.bundle.in
@@ -136,6 +136,13 @@ bundle_lzma: bundle
$(Q)cd "$(BUNDLES_DIR)/.lzma" && tar --lzma -c$(shell if test -n "$(VERBOSE)"; then echo 'v'; fi)f "$(BUNDLES_DIR)/$(BUNDLE_NAME).tar.lzma" "$(BUNDLE_NAME)"
$(Q)rm -rf "$(BUNDLES_DIR)/.lzma"
+bundle_xz: bundle
+ @echo '[BUNDLE] Creating $(BUNDLE_NAME).tar.xz'
+ $(Q)mkdir -p "$(BUNDLES_DIR)/.xz/$(BUNDLE_NAME)"
+ $(Q)cp -R "$(BUNDLE_DIR)/"* "$(BUNDLES_DIR)/.xz/$(BUNDLE_NAME)/"
+ $(Q)cd "$(BUNDLES_DIR)/.xz" && tar --xz -c$(shell if test -n "$(VERBOSE)"; then echo 'v'; fi)f "$(BUNDLES_DIR)/$(BUNDLE_NAME).tar.xz" "$(BUNDLE_NAME)"
+ $(Q)rm -rf "$(BUNDLES_DIR)/.xz"
+
bundle_lha: bundle
@echo '[BUNDLE] Creating $(BUNDLE_NAME).lha'
$(Q)mkdir -p "$(BUNDLES_DIR)/.lha/$(BUNDLE_NAME)"