[Telepathy-commits] [telepathy-glib/master] telepathy.am: restructure maintainer-upload-release so Makefile.am can add to it

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Oct 15 01:31:43 PDT 2008


---
 tools/telepathy.am |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/tools/telepathy.am b/tools/telepathy.am
index d1f5cd0..d061b89 100644
--- a/tools/telepathy.am
+++ b/tools/telepathy.am
@@ -7,7 +7,9 @@ dist-hook:
 		git log > ${distdir}/ChangeLog; \
 	fi
 
-maintainer-upload-release:
+maintainer-upload-release: _maintainer-upload-release
+
+_maintainer-upload-release-check:
 	@case @VERSION@ in \
 		(*.*.*.*) \
 			echo "@VERSION@ is not a release" >&2; \
@@ -17,6 +19,8 @@ maintainer-upload-release:
 	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
+
+_maintainer-upload-release: _maintainer-upload-release-check
 	rsync -vzP @PACKAGE at -@VERSION at .tar.gz telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/releases/@PACKAGE@/@PACKAGE at -@VERSION at .tar.gz
 	rsync -vzP @PACKAGE at -@VERSION at .tar.gz.asc telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/releases/@PACKAGE@/@PACKAGE at -@VERSION at .tar.gz.asc
 
-- 
1.5.6.5




More information about the Telepathy-commits mailing list