summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-10-15 09:31:43 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-10-15 09:31:43 +0100
commit4bc035115ef09262184a925842fc9b2a568cd48b (patch)
treefe0d5aa5dab59673c3226ff1bc3e1171409b1764 /tools
parent714990810a4142196b64dc684b15c04b7bfe56c5 (diff)
telepathy.am: restructure maintainer-upload-release so Makefile.am can add to it
Diffstat (limited to 'tools')
-rw-r--r--tools/telepathy.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/telepathy.am b/tools/telepathy.am
index d1f5cd024..d061b8918 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@-@VERSION@.tar.gz
test -f @PACKAGE@-@VERSION@.tar.gz.asc
gpg --verify @PACKAGE@-@VERSION@.tar.gz.asc
+
+_maintainer-upload-release: _maintainer-upload-release-check
rsync -vzP @PACKAGE@-@VERSION@.tar.gz telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/releases/@PACKAGE@/@PACKAGE@-@VERSION@.tar.gz
rsync -vzP @PACKAGE@-@VERSION@.tar.gz.asc telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/releases/@PACKAGE@/@PACKAGE@-@VERSION@.tar.gz.asc