@@ -88,8 +88,9 @@ SOURCES += $(wildcard src/*.cpp) | |||||
# Add files to the ZIP package when running `make dist` | # Add files to the ZIP package when running `make dist` | ||||
# The compiled plugin and "plugin.json" are automatically added. | # The compiled plugin and "plugin.json" are automatically added. | ||||
DISTRIBUTABLES += res | |||||
DISTRIBUTABLES += $(wildcard LICENSE*) | DISTRIBUTABLES += $(wildcard LICENSE*) | ||||
DISTRIBUTABLES += res | |||||
DISTRIBUTABLES += presets | |||||
# Include the Rack plugin Makefile framework | # Include the Rack plugin Makefile framework | ||||
include $(RACK_DIR)/plugin.mk | include $(RACK_DIR)/plugin.mk | ||||
@@ -73,11 +73,7 @@ else | |||||
$(STRIP) -s dist/$(SLUG)/$(TARGET) | $(STRIP) -s dist/$(SLUG)/$(TARGET) | ||||
endif | endif | ||||
@# Copy distributables | @# Copy distributables | ||||
ifdef ARCH_MAC | |||||
rsync -rR $(DISTRIBUTABLES) dist/$(SLUG)/ | |||||
else | |||||
cp -r --parents $(DISTRIBUTABLES) dist/$(SLUG)/ | |||||
endif | |||||
rsync -vrR --ignore-missing-args $(DISTRIBUTABLES) dist/$(SLUG)/ | |||||
@# Create ZIP package | @# Create ZIP package | ||||
cd dist && tar -c $(SLUG) | zstd -$(ZSTD_COMPRESSION_LEVEL) -o "$(SLUG)"-"$(VERSION)"-$(ARCH).vcvplugin | cd dist && tar -c $(SLUG) | zstd -$(ZSTD_COMPRESSION_LEVEL) -o "$(SLUG)"-"$(VERSION)"-$(ARCH).vcvplugin | ||||