summaryrefslogtreecommitdiff
path: root/Makefile.bundle.in
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-08-15 11:12:19 +0000
committerrubidium <rubidium@openttd.org>2009-08-15 11:12:19 +0000
commit1f3f53f42171c43726873991bce9bbb3c2e88097 (patch)
tree56cb6bac01b27d0da58b04035c54ac4f600553ea /Makefile.bundle.in
parent82b1027b8bdc0db74c3f3138b8cb4ac1ea834a5d (diff)
downloadopenttd-1f3f53f42171c43726873991bce9bbb3c2e88097.tar.xz
(svn r17184) -Add: 'bundle_7z' to the bundling functions
Diffstat (limited to 'Makefile.bundle.in')
-rw-r--r--Makefile.bundle.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.bundle.in b/Makefile.bundle.in
index 0650163eb..1157843cb 100644
--- a/Makefile.bundle.in
+++ b/Makefile.bundle.in
@@ -96,6 +96,11 @@ bundle_zip: bundle
$(Q)mkdir -p "$(BUNDLES_DIR)"
$(Q)cd "$(BUNDLE_DIR)" && zip -r $(shell if test -z "$(VERBOSE)"; then echo '-q'; fi) "$(BUNDLES_DIR)/$(BUNDLE_NAME).zip" .
+bundle_7z: bundle
+ @echo '[BUNDLE] Creating $(BUNDLE_NAME).7z'
+ $(Q)mkdir -p "$(BUNDLES_DIR)"
+ $(Q)cd "$(BUNDLE_DIR)" && 7z a "$(BUNDLES_DIR)/$(BUNDLE_NAME).7z" .
+
bundle_gzip: bundle
@echo '[BUNDLE] Creating $(BUNDLE_NAME).tar.gz'
$(Q)mkdir -p "$(BUNDLES_DIR)/.gzip/$(BUNDLE_NAME)"