From c543851966e9ab8ed86676e2056e6ebe8ca117ce Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sat, 9 Sep 2017 20:39:44 -0400 Subject: [PATCH] Add `make dist` --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index afa1ea1..e6e1e80 100644 --- a/Makefile +++ b/Makefile @@ -45,3 +45,14 @@ SOURCES = $(wildcard src/*.cpp) \ eurorack/warps/resources.cc include ../../plugin.mk + + +dist: all +ifndef VERSION + $(error VERSION is not set.) +endif + mkdir -p dist/AudibleInstruments + cp LICENSE* dist/AudibleInstruments/ + cp plugin.* dist/AudibleInstruments/ + cp -R res dist/AudibleInstruments/ + cd dist && zip -5 -r AudibleInstruments-$(VERSION)-$(ARCH).zip AudibleInstruments