summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-02-01 15:50:58 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2011-02-01 15:50:58 +0000
commit85a35a0a18ff62624b060f13325b77ed95bfc175 (patch)
treeb20f2b59e58b124cda84c10108ac46890d3f09e1
parent0f051670c5682bbb277089b909557b7baf98a5b6 (diff)
maintainer-make-release: check for gtk-doc at the start
Previously, the release process only failed when we got to making distcheck. Instead it should blow up right away, at the same time as we're checking for uncommited changes and so on. Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--tools/telepathy.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/telepathy.am b/tools/telepathy.am
index a3c962b32..d080afe7e 100644
--- a/tools/telepathy.am
+++ b/tools/telepathy.am
@@ -34,6 +34,11 @@ _is-release-check:
echo "Hey! You have changes staged! No release for you." >&2; \
exit 2; \
fi
+if ENABLE_GTK_DOC
+else
+ @echo "Hey! You need to pass --enable-gtk-doc to configure!"
+ @exit 2;
+endif
%.tar.gz.asc: %.tar.gz
$(AM_V_GEN)gpg --detach-sign --armor $@