summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2009-12-28 14:18:30 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2010-01-11 14:07:18 +0000
commit0ce9468ed9a70c4ee2a1e88add54fb058e7c4356 (patch)
treec2ebfefe3ce6947b3282a4cebf10c9e75c87f51c /tools
parent1e56a445a34d428c0feefd7423983608bd04919c (diff)
Grab UNRELEASED-checking distcheck-hook from tp-glib
Fixes: fd.o#23848 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/telepathy.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/telepathy.am b/tools/telepathy.am
index 3dab3e730..93b73d2d2 100644
--- a/tools/telepathy.am
+++ b/tools/telepathy.am
@@ -6,6 +6,18 @@ dist-hook:
git log --date=iso $(CHANGELOG_RANGE) > ${distdir}/ChangeLog; \
fi
+distcheck-hook:
+ @case @VERSION@ in \
+ *.*.*.*) ;; \
+ *) \
+ if grep -r UNRELEASED $(CHECK_FOR_UNRELEASED); \
+ then \
+ echo "^^^ This is meant to be a release, but some files say UNRELEASED" >&2; \
+ exit 2; \
+ fi \
+ ;; \
+ esac
+
maintainer-upload-release: _maintainer-upload-release
_maintainer-upload-release-check: