@@ -143,9 +143,9 @@ ifdef ARCH_WIN | |||||
endif | endif | ||||
DIST_RES := res cacert.pem Core.json template.vcv LICENSE-GPLv3.txt | DIST_RES := res cacert.pem Core.json template.vcv LICENSE-GPLv3.txt | ||||
DIST_NAME := RackFree-"$(VERSION)"-$(ARCH_OS_NAME) | |||||
DIST_NAME := RackFree-"$(VERSION)"-$(ARCH_FULL_NAME) | |||||
DIST_SDK_DIR := Rack-SDK | DIST_SDK_DIR := Rack-SDK | ||||
DIST_SDK := Rack-SDK-"$(VERSION)"-$(ARCH_OS_NAME).zip | |||||
DIST_SDK := Rack-SDK-"$(VERSION)"-$(ARCH_FULL_NAME).zip | |||||
ifdef ARCH_MAC | ifdef ARCH_MAC | ||||
DIST_BUNDLE := VCV Rack $(VERSION_MAJOR) Free.app | DIST_BUNDLE := VCV Rack $(VERSION_MAJOR) Free.app | ||||
else | else | ||||
@@ -26,3 +26,9 @@ else ifneq (,$(findstring linux,$(MACHINE_OS))) | |||||
else | else | ||||
$(error Operating system $(MACHINE_OS) not supported) | $(error Operating system $(MACHINE_OS) not supported) | ||||
endif | endif | ||||
ARCH_FULL_NAME := $(ARCH_OS_NAME) | |||||
ifndef ARCH_X64 | |||||
ARCH_FULL_NAME := $(ARCH_FULL_NAME)_$(ARCH_NAME) | |||||
endif |
@@ -79,7 +79,7 @@ else | |||||
cp -r --parents $(DISTRIBUTABLES) dist/$(SLUG)/ | cp -r --parents $(DISTRIBUTABLES) dist/$(SLUG)/ | ||||
endif | endif | ||||
@# Create ZIP package | @# Create ZIP package | ||||
cd dist && tar -c $(SLUG) | zstd -$(ZSTD_COMPRESSION_LEVEL) -o "$(SLUG)"-"$(VERSION)"-$(ARCH_OS_NAME).vcvplugin | |||||
cd dist && tar -c $(SLUG) | zstd -$(ZSTD_COMPRESSION_LEVEL) -o "$(SLUG)"-"$(VERSION)"-$(ARCH_FULL_NAME).vcvplugin | |||||
install: dist | install: dist | ||||
mkdir -p "$(RACK_USER_DIR)"/plugins/ | mkdir -p "$(RACK_USER_DIR)"/plugins/ | ||||