From 92b76f2126455c18b70fe53731ee3f9300173fa5 Mon Sep 17 00:00:00 2001 From: Franck Charlet Date: Wed, 16 Mar 2011 22:08:40 +0000 Subject: [PATCH] svn files excluded from archivbe OSX building git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1759 416bcca6-2ee7-4201-b75f-2eb2f807beb1 --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index c2aef751..bbd0fd62 100644 --- a/src/Makefile +++ b/src/Makefile @@ -96,7 +96,7 @@ else # Where the SDL frameworks are located FWDIR = /Library/Frameworks BIN = ../bin/grafx2 - SVN_REVISION = $(shell svnversion | cut -f1 -d ":" -) + SVN_REVISION = $(shell svnversion | cut -f2 -d ":" - | tr -d "M") 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$(SVN_REVISION)-macosx.tgz Grafx2.app/* + tar cvzf grafx2-svn$(SVN_REVISION)-macosx.tgz --exclude '*svn*' --exclude '*DS_Store*' Grafx2.app/* else all : $(BIN) endif