Browse Source

Define version in Makefile

tags/v0.5.1
Andrew Belt 7 years ago
parent
commit
c66b5de881
1 changed files with 7 additions and 4 deletions
  1. +7
    -4
      Makefile

+ 7
- 4
Makefile View File

@@ -1,3 +1,5 @@
SLUG = Fundamental
VERSION = 0.5.0


SOURCES = $(wildcard src/*.cpp) SOURCES = $(wildcard src/*.cpp)


@@ -6,7 +8,8 @@ include ../../plugin.mk




dist: all dist: all
mkdir -p dist/Fundamental
cp LICENSE* dist/Fundamental/
cp $(TARGET) dist/Fundamental/
cp -R res dist/Fundamental/
mkdir -p dist/$(SLUG)
cp LICENSE* dist/$(SLUG)/
cp $(TARGET) dist/$(SLUG)/
cp -R res dist/$(SLUG)/
cd dist && zip -5 -r $(SLUG)-$(VERSION)-$(ARCH).zip $(SLUG)

Loading…
Cancel
Save