Bug 630176 - Add the comm-central source stamp to Thunderbird's source stamp file; r=Callek
authorMark Banner <bugzilla@standard8.plus.com>
Tue, 01 Feb 2011 10:00:41 +0000
changeset 7046 bbfc217dd3ff8f860cecb50d76600eed53366b06
parent 7045 43414817514a4d6099310558937295bb69528348
child 7047 dd85cfec5252a8ca3ac4de98ba53c9f616e38c74
push idunknown
push userunknown
push dateunknown
reviewersCallek
bugs630176
Bug 630176 - Add the comm-central source stamp to Thunderbird's source stamp file; r=Callek
mail/installer/Makefile.in
--- a/mail/installer/Makefile.in
+++ b/mail/installer/Makefile.in
@@ -138,8 +138,13 @@ ifdef MOZ_PKG_MANIFEST_P
 	-diff -u $(DIST)/pack-list.txt $(DIST)/bin-list.txt
 	rm -f $(DIST)/pack-list.txt $(DIST)/bin-list.txt
 endif
 
 installer: removed-files
 ifdef INSTALLER_DIR
 	$(MAKE) -C $(INSTALLER_DIR)
 endif
+
+APP_SOURCE_STAMP = $(firstword $(shell hg -R $(topsrcdir) parent --template="{node|short}\n" 2>/dev/null))
+APP_SOURCE_REPO = $(shell hg -R $(topsrcdir) showconfig paths.default 2>/dev/null | sed -e "s/^ssh:/http:/")
+make-sourcestamp-file::
+	@echo "$(APP_SOURCE_REPO)/rev/$(APP_SOURCE_STAMP)" >> $(MOZ_SOURCESTAMP_FILE)