[telepathy-mission-control/master] Incorporate telepathy.am from telepathy-glib (adapted slightly for our versioning scheme)

Simon McVittie simon.mcvittie at collabora.co.uk
Mon Jun 22 05:33:24 PDT 2009


---
 Makefile.am        |    1 +
 tools/Makefile.am  |    3 ++-
 tools/telepathy.am |   27 +++++++++++++++++++++++++++
 3 files changed, 30 insertions(+), 1 deletions(-)
 create mode 100644 tools/telepathy.am

diff --git a/Makefile.am b/Makefile.am
index 4c404de..30bc1d2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,3 +18,4 @@ endif
 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
 
 include tools/lcov.am
+include tools/telepathy.am
diff --git a/tools/Makefile.am b/tools/Makefile.am
index d7aa53e..40a06c4 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -15,7 +15,8 @@ EXTRA_DIST = \
     lcov.am \
     libtpcodegen.py \
     libglibcodegen.py \
-    spec-to-introspect.xsl
+    spec-to-introspect.xsl \
+    telepathy.am
 
 CLEANFILES = libglibcodegen.pyc libglibcodegen.pyo
 
diff --git a/tools/telepathy.am b/tools/telepathy.am
new file mode 100644
index 0000000..8b99931
--- /dev/null
+++ b/tools/telepathy.am
@@ -0,0 +1,27 @@
+## 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: _maintainer-upload-release
+
+_maintainer-upload-release-check:
+	@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
+
+_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
+
+## vim:set ft=automake:
-- 
1.5.6.5




More information about the telepathy-commits mailing list