diff --git a/helper.py b/helper.py index 61e3877d..44b74d8f 100755 --- a/helper.py +++ b/helper.py @@ -88,8 +88,9 @@ SOURCES += $(wildcard src/*.cpp) # Add files to the ZIP package when running `make dist` # The compiled plugin and "plugin.json" are automatically added. -DISTRIBUTABLES += res DISTRIBUTABLES += $(wildcard LICENSE*) +DISTRIBUTABLES += res +DISTRIBUTABLES += presets # Include the Rack plugin Makefile framework include $(RACK_DIR)/plugin.mk diff --git a/plugin.mk b/plugin.mk index 600815ff..7cde265e 100644 --- a/plugin.mk +++ b/plugin.mk @@ -73,11 +73,7 @@ else $(STRIP) -s dist/$(SLUG)/$(TARGET) endif @# 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 cd dist && tar -c $(SLUG) | zstd -$(ZSTD_COMPRESSION_LEVEL) -o "$(SLUG)"-"$(VERSION)"-$(ARCH).vcvplugin