summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2012-02-21 19:44:54 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2012-02-21 19:44:54 +0000
commit920b112a30b0c0f86d150d5fa6aa07779f22c50a (patch)
tree05b57d4edec2d4bee9e61005d070daa6f5328e32 /tools
parent5cb548e7650846ae51142e8d9464de693775ffe0 (diff)
Update telepathy.am from telepathy-glib 0.17.5 to fix out-of-tree releases
Diffstat (limited to 'tools')
-rw-r--r--tools/telepathy.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/tools/telepathy.am b/tools/telepathy.am
index d080afe7e..f696ef308 100644
--- a/tools/telepathy.am
+++ b/tools/telepathy.am
@@ -3,7 +3,7 @@
dist-hook:
chmod u+w ${distdir}/ChangeLog
if test -d ${top_srcdir}/.git; then \
- git log --date=iso $(CHANGELOG_RANGE) > ${distdir}/ChangeLog; \
+ ( cd ${top_srcdir} && git log --date=iso $(CHANGELOG_RANGE) ) > ${distdir}/ChangeLog; \
fi
distcheck-hook:
@@ -26,11 +26,13 @@ _is-release-check:
exit 2; \
;; \
esac
- @if ! git diff --no-ext-diff --quiet --exit-code; then \
+ @cd ${top_srcdir} && \
+ if ! git diff --no-ext-diff --quiet --exit-code; then \
echo "Hey! Your tree is dirty! No release for you." >&2; \
exit 2; \
fi
- @if ! git diff --cached --no-ext-diff --quiet --exit-code; then \
+ @cd ${top_srcdir} && \
+ if ! git diff --cached --no-ext-diff --quiet --exit-code; then \
echo "Hey! You have changes staged! No release for you." >&2; \
exit 2; \
fi