From 95ea82c2aba6b2a7e37a9e59bf6edde59e824108 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 5 Jun 2019 04:44:05 -0400 Subject: [PATCH] Copy DISTRIBUTABLES relative to plugin directory. --- plugin.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)