Browse Source

Define ARCH_FULL_NAME in arch.mk. Use "mac_arm64" in dist filenames on Mac arm64.

tags/v2.2.0
Andrew Belt 2 years ago
parent
commit
9fe7910e6a
3 changed files with 9 additions and 3 deletions
  1. +2
    -2
      Makefile
  2. +6
    -0
      arch.mk
  3. +1
    -1
      plugin.mk

+ 2
- 2
Makefile View File

@@ -143,9 +143,9 @@ ifdef ARCH_WIN
endif

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 := Rack-SDK-"$(VERSION)"-$(ARCH_OS_NAME).zip
DIST_SDK := Rack-SDK-"$(VERSION)"-$(ARCH_FULL_NAME).zip
ifdef ARCH_MAC
DIST_BUNDLE := VCV Rack $(VERSION_MAJOR) Free.app
else


+ 6
- 0
arch.mk View File

@@ -26,3 +26,9 @@ else ifneq (,$(findstring linux,$(MACHINE_OS)))
else
$(error Operating system $(MACHINE_OS) not supported)
endif


ARCH_FULL_NAME := $(ARCH_OS_NAME)
ifndef ARCH_X64
ARCH_FULL_NAME := $(ARCH_FULL_NAME)_$(ARCH_NAME)
endif

+ 1
- 1
plugin.mk View File

@@ -79,7 +79,7 @@ else
cp -r --parents $(DISTRIBUTABLES) dist/$(SLUG)/
endif
@# 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
mkdir -p "$(RACK_USER_DIR)"/plugins/


Loading…
Cancel
Save