[Telepathy-commits] [telepathy-gabble/master] Add a maintainer-upload-release Makefile target

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Sep 29 09:55:56 PDT 2008


---
 Makefile.am |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index bdd1018..44bc674 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -15,3 +15,15 @@ check-twisted: all
 	$(MAKE) -C tests/twisted check-twisted
 
 check-all: check check-twisted
+
+maintainer-upload-release:
+	@case @VERSION@ in \
+		(*.*.*.*) \
+			echo "@VERSION@ is not a release" >&2; \
+			exit 2; \
+			;; \
+	esac
+	test -f @PACKAGE at -@VERSION at .tar.gz
+	test -f @PACKAGE at -@VERSION at .tar.gz.asc
+	gpg --verify @PACKAGE at -@VERSION at .tar.gz.asc
+	rsync -vzP @PACKAGE at -@VERSION at .tar.gz telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/releases/@PACKAGE@/
-- 
1.5.6.5



More information about the Telepathy-commits mailing list