diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2009-12-28 13:51:03 +0000 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2009-12-28 13:57:38 +0000 |
commit | 45ed1c8b96566d4b8dd74356f2ba851fc11d34ef (patch) | |
tree | 2d4c1dc8da794b12c7c2a60b3b33ec2b977ff361 /tools | |
parent | a6ee8fce843f16b357c89935a95a657269b6f48a (diff) | |
download | telepathy-glib-45ed1c8b96566d4b8dd74356f2ba851fc11d34ef.tar.gz |
Check for files saying UNRELEASED during distcheck
Reference fd.o#23848, and showed up a couple of UNRELEASED that slipped
into releases!
Diffstat (limited to 'tools')
-rw-r--r-- | tools/telepathy.am | 12 |
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: |