diff options
author | rubidium <rubidium@openttd.org> | 2010-10-26 22:03:37 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-10-26 22:03:37 +0000 |
commit | bedcbfe2ba170472afc5aa186af2ab66a5a0d313 (patch) | |
tree | c34fcc06d8bd763d8bacd4b719c6a19bc6bd5c7f | |
parent | 61e419e27f2eb67ed66ef3da5606fb164a4791e0 (diff) | |
download | openttd-bedcbfe2ba170472afc5aa186af2ab66a5a0d313.tar.xz |
(svn r21042) -Change: make it possible to make .tar.xz bundles
-rw-r--r-- | Makefile.bundle.in | 7 |
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)" |