Release/Makefile
changeset 1848 548b22f58674
parent 1844 90a890e093ea
child 1849 164854e9f08d
--- a/Release/Makefile	Fri Apr 17 23:18:35 2009 -0700
+++ b/Release/Makefile	Sat Apr 18 02:32:07 2009 -0400
@@ -54,7 +54,7 @@
 RELEASE_NAME_ESCAPED=Adium_$(VERSION_ESCAPED)
 TARBALL_DIR=adium-$(VERSION)
 
-REVISION=r`(hg identify --num)`
+REVISION = $(subst +,,$(shell hg id -n))
 
 ifeq ($(NIGHTLY),TRUE)
 	ADIUM_DIR:=$(ADIUM_DIR)\ $(REVISION)
@@ -203,7 +203,7 @@
 endif
 
 tarballapp:
-	rm $(BUILD_DIR)/Adium_temp.tgz || true
+	rm $(BUILD_DIR)/$(RELEASE_NAME).tgz || true
 	cd $(BUILD_DIR) && tar zcf $(RELEASE_NAME).tgz Adium*/ && cd ..
 
 tarball: