summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mac
diff options
context:
space:
mode:
authorAaron Becker <akbecker@gmail.com>2011-09-01 14:43:52 -0500
committerAdam Borowski <kilobyte@angband.pl>2011-09-02 01:40:43 +0200
commitcc3e1d6d18422b946bc121a912553cca4db2549c (patch)
treeb3dc21c94fc5a9cae3aca5ed6860a4f07c886d1d /crawl-ref/source/mac
parent023371366abae814bfb51cf03610cad3ae180ae5 (diff)
downloadcrawl-ref-cc3e1d6d18422b946bc121a912553cca4db2549c.tar.gz
crawl-ref-cc3e1d6d18422b946bc121a912553cca4db2549c.zip
Makefile changes to facilitate correctly formatted mac nightly builds
Diffstat (limited to 'crawl-ref/source/mac')
-rw-r--r--crawl-ref/source/mac/Makefile.app-bundle21
1 files changed, 14 insertions, 7 deletions
diff --git a/crawl-ref/source/mac/Makefile.app-bundle b/crawl-ref/source/mac/Makefile.app-bundle
index 9a45316543..68347b71f6 100644
--- a/crawl-ref/source/mac/Makefile.app-bundle
+++ b/crawl-ref/source/mac/Makefile.app-bundle
@@ -13,16 +13,16 @@ endif
APP_NAME := Dungeon Crawl Stone Soup
ifneq (,$(findstring tiles,$(MAKECMDGOALS)))
-BUNDLE_NAME := Dungeon\ Crawl\ Stone\ Soup
+BUNDLE_NAME := Dungeon\ Crawl\ Stone\ Soup\ -\ Tiles
TILE_APP := y
-ZIP_QUALIFIER := -tiles
+ZIP_QUALIFIER := _tiles
EXECUTABLE_PATH := $(CRAWL_SRC)/crawl
else
-BUNDLE_NAME := Dungeon\ Crawl\ Stone\ Soup\ -\ Terminal
+BUNDLE_NAME := Dungeon\ Crawl\ Stone\ Soup\ -\ Console
EXECUTABLE_PATH := crawl
endif
-ZIP_NAME = stone_soup-$(SRC_VERSION)$(ZIP_QUALIFIER)-macosx$(ZIP_ARCH).zip
+ZIP_NAME = crawl$(ZIP_QUALIFIER)_osx-$(SRC_VERSION)$(ZIP_ARCH).zip
STAGING_DIR := $(CRAWL_SRC)/build/app-bundle-stage
ZIPPED_APP_DIR := $(CRAWL_SRC)/mac-app-zips
@@ -76,9 +76,16 @@ copy-resources:
cp -r $(CRAWL_BASE)/settings $(RESOURCES)
cp -r $(CRAWL_SRC)/dat $(RESOURCES)
cp -r $(CRAWL_BASE)/docs $(RESOURCES)
-ifdef TILE_APP
- cp $(CRAWL_SRC)/rltiles/*.png $(RESOURCES)
-endif
+ cp $(CRAWL_BASE)/licence.txt $(RESOURCES)/LICENCE.txt
+ cp $(CRAWL_BASE)/README.txt $(RESOURCES)
+ cp $(CRAWL_BASE)/CREDITS.txt $(RESOURCES)
+ rm -rf $(RESOURCES)/docs/obsolete
+ rm -rf $(RESOURCES)/docs/template
+ rm -f $(RESOURCES)/docs/*.html
+ rm -f $(RESOURCES)/docs/*.pdf
+ rm -f $(RESOURCES)/docs/*.reST
+ rm -f $(RESOURCES)/docs/crawl.6
+ rm -f $(RESOURCES)/*.png
copy-info-plist:
perl -lpe "s/%VERSION%/$(SRC_VERSION)/g;" \