As CFM pointed out, we should run "prepare-release-bundle" for nightlies, reducing filesize.
authorZachary West <zacw@adiumx.com>
Fri, 27 Mar 2009 19:24:34 +0000
changeset 1341 ce7d1b9dbc15
parent 1340 794a1111b8fa
child 1342 9e1facecf18c
As CFM pointed out, we should run "prepare-release-bundle" for nightlies, reducing filesize.
Release/Makefile
--- a/Release/Makefile	Fri Mar 27 19:19:34 2009 +0000
+++ b/Release/Makefile	Fri Mar 27 19:24:34 2009 +0000
@@ -87,7 +87,7 @@
 ###########
 # Targets
 ###########
-.PHONY: all all-withlocalchanges all-withlocalchanges-noclean all-nopackage-noclean all-nightly update assertnochanges assertnoconflicts version compile clean release source prepare-release-bundle codesign createfolder diskimage nightly tarball
+.PHONY: all all-withlocalchanges all-withlocalchanges-noclean all-nopackage-noclean all-nightly update assertnochanges assertnoconflicts version compile clean release source prepare-release-bundle createfolder diskimage nightly tarball
 
 all: update assertnochanges version clean compile release
 all-withlocalchanges: update assertnoconflicts version clean compile release
@@ -95,7 +95,7 @@
 
 #doesn't bother putting things in a dmg
 #useful for builds not intended for distribution
-all-nopackage-noclean: update assertnoconflicts version compile createfolder prepare-release-bundle codesign
+all-nopackage-noclean: update assertnoconflicts version compile createfolder prepare-release-bundle
 
 update:
 	svn update $(SRC_DIR)
@@ -128,7 +128,7 @@
 	rm -rf $(BUILD_DIR)
 	$(MAKE) $(BUILDFLAGS) -C $(SRC_DIR) clean
 
-release: createfolder prepare-release-bundle codesign diskimage
+release: createfolder prepare-release-bundle diskimage
 
 prepare-release-bundle:
 	@# Convert all nibs to the smaller binary format
@@ -145,7 +145,6 @@
 	find $(BUILD_DIR) -name ".svn" -type d -exec rm -rf {} \; -prune
 	find $(BUILD_DIR) \( -name "*~" -or -name .DS_Store \) -type f -delete
 
-codesign:
 	@# sign the executable
 ifeq ($(OFFICIAL_BUILD),TRUE)
 	if [ -e ~/adium-password ]; then \
@@ -187,7 +186,7 @@
 	@echo Build finished. `md5 $(BUILD_DIR)/$(RELEASE_NAME_ESCAPED).dmg`
 
 #This is what nightly builds use. Does not update because buildbot does.
-nightly: version clean compile createfolder codesign tarballapp
+nightly: version clean compile createfolder prepare-release-bundle tarballapp
 	echo $(RELEASE_NAME) > $(BUILD_DIR)/latest
 	(svn info | perl -nle 's/Revision: ([0-9]+)/$$1/g and print "r".$$_') >> $(BUILD_DIR)/latest
 	md5 -q $(BUILD_DIR)/$(RELEASE_NAME).tgz >> $(BUILD_DIR)/latest