macOS: add API prefix to bin name. Do not tgz .app (you should use ziprelease)

This commit is contained in:
Thomas BERNARD 2018-11-27 16:53:43 +01:00 committed by Thomas Bernard
parent 878568c7f5
commit 2cdbcac40d
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

@ -181,7 +181,7 @@ endif
PLATFORMFILES = ../share/grafx2/gfx2.png
# Where the SDL frameworks are located
FWDIR = /Library/Frameworks
BIN = ../bin/grafx2
BIN = ../bin/grafx2-$(API)
ifeq ($(API),sdl)
SDLCONFIG := $(shell which sdl-config)
@ -810,7 +810,7 @@ endif
cp $(BIN) $(MACAPPEXE)
$(STRIP) -x -X -S $(MACAPPEXE)
chmod +x $(MACAPPEXE)
tar cvzf grafx2-git$(GIT_REVISION)-macosx.tgz --exclude '.git' --exclude '*DS_Store*' Grafx2.app/*
#tar cvzf grafx2-git$(GIT_REVISION)-macosx.tgz --exclude '.git' --exclude '*DS_Store*' Grafx2.app/*
else
all : $(BIN)
ifeq ($(ATARICROSS),1)