diff options
author | Simon McVittie <http://smcv.pseudorandom.co.uk/> | 2008-11-19 14:28:53 +0000 |
---|---|---|
committer | Simon McVittie <http://smcv.pseudorandom.co.uk/> | 2008-11-19 14:28:53 +0000 |
commit | 172d4672ab85a4ff02b63d4275a26539d57a44bc (patch) | |
tree | 197dd1edeb3080a2b5107d23b7ca2870f556e1ce /tools | |
parent | fa2ede39e67950938da25f0be114f23b4601e239 (diff) |
Include tools/telepathy.am from telepathy-glib
Also add documentation-uploading to Makefile.am (from telepathy-glib again)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile.am | 11 | ||||
-rw-r--r-- | tools/telepathy.am | 27 |
2 files changed, 38 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am new file mode 100644 index 0000000..8875022 --- /dev/null +++ b/tools/Makefile.am @@ -0,0 +1,11 @@ +EXTRA_DIST = \ + telepathy.am + +TELEPATHY_GLIB_SRCDIR = $(top_srcdir)/../telepathy-glib +maintainer-update-from-telepathy-glib: + set -e && cd $(srcdir) && \ + for x in $(EXTRA_DIST); do \ + if test -f $(TELEPATHY_GLIB_SRCDIR)/tools/$$x; then \ + cp $(TELEPATHY_GLIB_SRCDIR)/tools/$$x $$x; \ + fi; \ + done diff --git a/tools/telepathy.am b/tools/telepathy.am new file mode 100644 index 0000000..d061b89 --- /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@-@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 + +## vim:set ft=automake: |