From 90080e9586e7e007f951eadb303d35c7cf649902 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 26 Oct 2010 22:03:37 +0000 Subject: [PATCH] (svn r21042) -Change: make it possible to make .tar.xz bundles --- Makefile.bundle.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Makefile.bundle.in b/Makefile.bundle.in index e6ec689b29..bb4b093140 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)"