diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-08-09 15:32:01 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-08-09 15:33:58 +0100 |
commit | c5bf32649b717474a319c338a573bd75d4de32d4 (patch) | |
tree | 681405269e0c359e0da40da6bf59f67c2f832497 | |
parent | 5b07f1f97c1119c8c09b0196395d7357292c7411 (diff) |
Make dist-hook succeed out-of-tree
Similar to telepathy-glib commit 5f8bccce98.
Also use ISO dates in the ChangeLog to reduce diffstat if generated by
someone in a different timezone, and don't bother with --stat.
Again, this is consistent with telepathy-glib.
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 3929a49..2545083 100644 --- a/Makefile.am +++ b/Makefile.am @@ -9,8 +9,8 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc dist-hook: chmod u+w ${distdir}/ChangeLog if test -d ${top_srcdir}/.git; then \ - git log --stat > ${distdir}/ChangeLog || \ - git log > ${distdir}/ChangeLog; \ + ( cd ${top_srcdir} && git log --date=iso ) \ + > ${distdir}/ChangeLog; \ fi include $(top_srcdir)/rules/lcov.mak |