diff --git a/plugin.mk b/plugin.mk index 906d98f7..574c90c0 100644 --- a/plugin.mk +++ b/plugin.mk @@ -62,7 +62,11 @@ else $(STRIP) -s dist/$(SLUG)/$(TARGET) endif @# Copy distributables - cp -R $(DISTRIBUTABLES) dist/$(SLUG)/ +ifdef ARCH_MAC + rsync -rR $(DISTRIBUTABLES) dist/$(SLUG)/ +else + cp -R --parents $(DISTRIBUTABLES) dist/$(SLUG)/ +endif @# Create ZIP package cd dist && zip -q -9 -r $(SLUG)-$(VERSION)-$(ARCH).zip $(SLUG)