The Release Makefile now creates a third product: a tarball of the dSYM bundles. This will make it easy for anyone to download the dSYM bundles for a past release, enabling them to symbolicate crash logs.
authorPeter Hosey
Wed Apr 15 20:04:34 2009 -0700 (2009-04-15)
changeset 4196cda6a8576c59
parent 4195 07c18306756c
child 4197 3ac6e6d3547a
The Release Makefile now creates a third product: a tarball of the dSYM bundles. This will make it easy for anyone to download the dSYM bundles for a past release, enabling them to symbolicate crash logs.
Release/Makefile
     1.1 --- a/Release/Makefile	Wed Apr 15 18:54:23 2009 -0700
     1.2 +++ b/Release/Makefile	Wed Apr 15 20:04:34 2009 -0700
     1.3 @@ -41,6 +41,7 @@
     1.4  	GROWLMAIL_BUILD_DIR=$(TARGET_BUILD_DIR)
     1.5  	GROWLSAFARI_BUILD_DIR=$(TARGET_BUILD_DIR)
     1.6  endif
     1.7 +DSYM_DIR=$(BUILD_DIR)/Growl-dSYM-$(VERSION)
     1.8  PACKAGE_MAKER=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker
     1.9  ART_DIR=Artwork
    1.10  
    1.11 @@ -119,6 +120,17 @@
    1.12  	mkdir $(BUILD_DIR)
    1.13  	mkdir $(GROWL_DIR)
    1.14  	
    1.15 +	@# Archive dSYM bundles.
    1.16 +	mkdir $(DSYM_DIR)
    1.17 +	mv $(GROWL_BUILD_DIR)/*.dSYM $(DSYM_DIR)
    1.18 +	mv $(GROWLNOTIFY_BUILD_DIR)/*.dSYM $(DSYM_DIR)
    1.19 +	mv $(GROWLTUNES_BUILD_DIR)/*.dSYM $(DSYM_DIR)
    1.20 +	mv $(HARDWAREGROWLER_BUILD_DIR)/*.dSYM $(DSYM_DIR)
    1.21 +	mv $(GROWLMAIL_BUILD_DIR)/*.dSYM $(DSYM_DIR)
    1.22 +	mv $(GROWLSAFARI_BUILD_DIR)/*.dSYM $(DSYM_DIR)
    1.23 +	@# Note: -C only applies to the input names, not -f, so it is correct to use notdir on the directory name and leave it off of the tarball name.
    1.24 +	tar -C $(dir $(DSYM_DIR)) -cjf $(DSYM_DIR).tbz $(notdir $(DSYM_DIR))
    1.25 +	
    1.26  	@# copy uninstaller
    1.27  	cp -R "Uninstall Growl.app" $(GROWL_DIR)
    1.28  	/Developer/Tools/SetFile -a E $(GROWL_DIR)/Uninstall\ Growl.app