Browse Source

Add `make dist`

tags/v0.4.0
Andrew Belt 7 years ago
parent
commit
c6e4f8c576
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      Makefile

+ 11
- 0
Makefile View File

@@ -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

Loading…
Cancel
Save