mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 06:15:04 +00:00
(svn r21042) -Change: make it possible to make .tar.xz bundles
This commit is contained in:
parent
61e419e27f
commit
bedcbfe2ba
@ -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)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"
|
$(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
|
bundle_lha: bundle
|
||||||
@echo '[BUNDLE] Creating $(BUNDLE_NAME).lha'
|
@echo '[BUNDLE] Creating $(BUNDLE_NAME).lha'
|
||||||
$(Q)mkdir -p "$(BUNDLES_DIR)/.lha/$(BUNDLE_NAME)"
|
$(Q)mkdir -p "$(BUNDLES_DIR)/.lha/$(BUNDLE_NAME)"
|
||||||
|
Loading…
Reference in New Issue
Block a user