File diff r12708:bd87b0e1dc96 → r12709:de26edb8ac2b
Makefile.bundle.in
Show inline comments
 
@@ -93,12 +93,17 @@ endif
 
#
 
bundle_zip: bundle
 
	@echo '[BUNDLE] Creating $(BUNDLE_NAME).zip'
 
	$(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)"
 
	$(Q)cp -R    "$(BUNDLE_DIR)/"* "$(BUNDLES_DIR)/.gzip/$(BUNDLE_NAME)/"
 
	$(Q)cd "$(BUNDLES_DIR)/.gzip" && tar -zc$(shell if test -n "$(VERBOSE)"; then echo 'v'; fi)f "$(BUNDLES_DIR)/$(BUNDLE_NAME).tar.gz" "$(BUNDLE_NAME)"
 
	$(Q)rm -rf   "$(BUNDLES_DIR)/.gzip"