summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-10-14 18:17:36 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-10-22 12:34:29 +0100
commitcc2a20e7c01bb4dce0281e90b89430d586002eaa (patch)
tree7237a4d8ae2d823f1c5ad8d9aa6fe360e3108fc1 /tools
parent715e018cf6fff5149e4009f5c593585ef369927e (diff)
Copy telepathy.am from telepathy-glib
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am1
-rw-r--r--tools/telepathy.am22
2 files changed, 23 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 711a5ba36..99cd2a025 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -12,6 +12,7 @@ EXTRA_DIST = \
identity.xsl \
libglibcodegen.py \
libtpcodegen.py \
+ telepathy.am \
xep.xsl
CLEANFILES = *.pyc *.pyo
diff --git a/tools/telepathy.am b/tools/telepathy.am
new file mode 100644
index 000000000..f0fe870a2
--- /dev/null
+++ b/tools/telepathy.am
@@ -0,0 +1,22 @@
+## Useful top-level Makefile.am snippets for Telepathy projects.
+
+dist-hook:
+ chmod u+w ${distdir}/ChangeLog
+ if test -d ${top_srcdir}/.git; then \
+ git log --stat > ${distdir}/ChangeLog || \
+ git log > ${distdir}/ChangeLog; \
+ fi
+
+maintainer-upload-release:
+ @case @VERSION@ in \
+ (*.*.*.*) \
+ echo "@VERSION@ is not a release" >&2; \
+ exit 2; \
+ ;; \
+ esac
+ test -f @PACKAGE@-@VERSION@.tar.gz
+ test -f @PACKAGE@-@VERSION@.tar.gz.asc
+ gpg --verify @PACKAGE@-@VERSION@.tar.gz.asc
+ rsync -vzP @PACKAGE@-@VERSION@.tar.gz telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/releases/@PACKAGE@/@PACKAGE@-@VERSION@.tar.gz
+
+## vim:set ft=automake: