diff options
author | Stefan Gartner <stefang@aon.at> | 2003-02-05 18:13:42 +0300 |
---|---|---|
committer | Stefan Gartner <stefang@aon.at> | 2003-02-05 18:13:42 +0300 |
commit | 0feac451acff2de6a585346209f50dd0c6544d84 (patch) | |
tree | ea28755c3707d17252e9dea627bc9fd906ab9db8 /release/Makefile | |
parent | b133cb7c8b2675791f036007b3242be69ce0d664 (diff) |
added darwin, changed package name from blender-creator to blender
Diffstat (limited to 'release/Makefile')
-rw-r--r-- | release/Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/release/Makefile b/release/Makefile index efe31905a76..c394b9b279a 100644 --- a/release/Makefile +++ b/release/Makefile @@ -33,7 +33,7 @@ include nan_definitions.mk VERSION := $(shell cat VERSION) -BLENDNAME=blender-creator-$(VERSION)-$(CONFIG_GUESS)$(TYPE) +BLENDNAME=blender-$(VERSION)-$(CONFIG_GUESS)$(TYPE) DISTDIR=$(NAN_OBJDIR)/$(BLENDNAME) all: @@ -78,6 +78,10 @@ all: @$(MAKE) pkg TYPE="" TAR="zip -r9" EXT0=".exe" EXT1=".zip" \ NOPLUGINS="true" NOSTRIP="true" endif + ifeq ($(OS),darwin) + @$(MAKE) pkg TYPE="" TAR="tar cf" EXT0"=.app" EXT1=".tar" NOPLUGINS="true" \ + COMPRESS="gzip -f --best" EXT2=".gz" + endif # OS independent targets below: @@ -110,11 +114,19 @@ install: package ifeq ($(TYPE),-static) @cp $(OCGDIR)/bin/blenderstatic$(EXT0) $(DISTDIR)/blender$(EXT0) else - @cp $(OCGDIR)/bin/blender$(EXT0) $(DISTDIR)/blender$(EXT0) + ifeq ($(OS),darwin) + @cp -r $(OCGDIR)/bin/blender$(EXT0) $(DISTDIR)/blender$(EXT0) + else + @cp $(OCGDIR)/bin/blender$(EXT0) $(DISTDIR)/blender$(EXT0) + endif endif ifneq ($(NOSTRIP),true) @echo "----> Strip blender executable" - @strip $(DISTDIR)/blender$(EXT0) + ifeq ($(OS),darwin) + @strip $(OCGDIR)/bin/blender$(EXT0)/Contents/MacOS/blender + else + @strip $(DISTDIR)/blender$(EXT0) + endif endif @[ ! -x $(CONFIG_GUESS)/specific.sh ] || (\ echo "**--> Execute specific.sh in $(CONFIG_GUESS)/" && \ |