diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-02-21 19:44:31 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-02-21 19:44:31 +0000 |
commit | 5027888083a46c97f75a99cdf165195afed929db (patch) | |
tree | 29a935595a3bc932c03578ce963caae73916924a | |
parent | 8c8b9e690c94ba4b5a2f461799bc2e97b2104bce (diff) |
Update telepathy.am from telepathy-glib 0.17.5 to fix out-of-tree releasestelepathy-mission-control-5.11.0
-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 d080afe7..f696ef30 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 |