From c6e4f8c57649befa2ef18fafd728bb6472185a84 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sat, 9 Sep 2017 20:40:15 -0400 Subject: [PATCH] Add `make dist` --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index 624082a..9364720 100644 --- a/Makefile +++ b/Makefile @@ -4,3 +4,14 @@ FLAGS = -I./pffft -DPFFFT_SIMD_DISABLE SOURCES = $(wildcard src/*.cpp) pffft/pffft.c include ../../plugin.mk + + +dist: all +ifndef VERSION + $(error VERSION is not set.) +endif + mkdir -p dist/Befaco + cp LICENSE* dist/Befaco/ + cp plugin.* dist/Befaco/ + cp -R res dist/Befaco/ + cd dist && zip -5 -r Befaco-$(VERSION)-$(ARCH).zip Befaco