summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-08-15 10:57:00 +0000
committerrubidium <rubidium@openttd.org>2009-08-15 10:57:00 +0000
commit82b1027b8bdc0db74c3f3138b8cb4ac1ea834a5d (patch)
tree74d76245a747399934b7fd04b7c2067be24f6f70
parent5294ca8a103fd7d595ef647c9965a76e749cd106 (diff)
downloadopenttd-82b1027b8bdc0db74c3f3138b8cb4ac1ea834a5d.tar.xz
(svn r17183) -Add [FS#2827]: 'bundle_lzma' to the bundling functions
-rw-r--r--Makefile.bundle.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.bundle.in b/Makefile.bundle.in
index 6fb2f4070..0650163eb 100644
--- a/Makefile.bundle.in
+++ b/Makefile.bundle.in
@@ -110,6 +110,13 @@ bundle_bzip2: bundle
$(Q)cd "$(BUNDLES_DIR)/.bzip2" && tar -jc$(shell if test -n "$(VERBOSE)"; then echo 'v'; fi)f "$(BUNDLES_DIR)/$(BUNDLE_NAME).tar.bz2" "$(BUNDLE_NAME)"
$(Q)rm -rf "$(BUNDLES_DIR)/.bzip2"
+bundle_lzma: bundle
+ @echo '[BUNDLE] Creating $(BUNDLE_NAME).tar.lzma'
+ $(Q)mkdir -p "$(BUNDLES_DIR)/.lzma/$(BUNDLE_NAME)"
+ $(Q)cp -R "$(BUNDLE_DIR)/"* "$(BUNDLES_DIR)/.lzma/$(BUNDLE_NAME)/"
+ $(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_lha: bundle
@echo '[BUNDLE] Creating $(BUNDLE_NAME).lha'
$(Q)mkdir -p "$(BUNDLES_DIR)/.lha/$(BUNDLE_NAME)"