using cut instead of tr to extract svn revision to generate archive name
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1758 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
c16d9dab4c
commit
14e891f3e6
@ -96,7 +96,7 @@ else
|
||||
# Where the SDL frameworks are located
|
||||
FWDIR = /Library/Frameworks
|
||||
BIN = ../bin/grafx2
|
||||
SVN_REVISION = $(shell svnversion | tr -d "M")
|
||||
SVN_REVISION = $(shell svnversion | cut -f1 -d ":" -)
|
||||
SDLCOPT = $(MACOSX_ARCH) -I$(FWDIR)/SDL.framework/Headers -I$(FWDIR)/SDL_image.framework/Headers -I$(FWDIR)/SDL_ttf.framework/Headers -D_THREAD_SAFE
|
||||
#-framework SDL_ttf
|
||||
SDLLOPT = -isysroot $(MACOSX_SYSROOT) $(MACOSX_ARCH) -L/usr/lib -framework SDL -framework SDL_image -framework Cocoa -framework Carbon -framework OpenGL
|
||||
@ -410,7 +410,7 @@ $(MACAPPEXE) : $(BIN)
|
||||
cp $(BIN) $(MACAPPEXE)
|
||||
$(STRIP) -x -X -S $(MACAPPEXE)
|
||||
chmod +x $(MACAPPEXE)
|
||||
tar cvzf grafx2-$(SVN_REVISION)-macosx.tgz Grafx2.app/*
|
||||
tar cvzf grafx2-svn$(SVN_REVISION)-macosx.tgz Grafx2.app/*
|
||||
else
|
||||
all : $(BIN)
|
||||
endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user