diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-02-21 19:44:54 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-02-21 19:44:54 +0000 |
commit | 920b112a30b0c0f86d150d5fa6aa07779f22c50a (patch) | |
tree | 05b57d4edec2d4bee9e61005d070daa6f5328e32 /tools | |
parent | 5cb548e7650846ae51142e8d9464de693775ffe0 (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.am | 8 |
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 |