[telepathy-gabble/master] Only write the changelog since 0.6.0 to ChangeLog, and don't use --stat

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Sep 11 05:06:06 PDT 2009


The changelog.gz in our Debian packages is now bigger than Gabble itself!
---
 Makefile.am        |    1 +
 tools/telepathy.am |    3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index d53eba0..6414f68 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -18,4 +18,5 @@ check-local::
 include tools/lcov.am
 LCOV_CHECK_ARGS = CHECK_TWISTED_SLEEP=6
 
+CHANGELOG_RANGE = telepathy-gabble-0.6.0..
 include tools/telepathy.am
diff --git a/tools/telepathy.am b/tools/telepathy.am
index d061b89..eff59a4 100644
--- a/tools/telepathy.am
+++ b/tools/telepathy.am
@@ -3,8 +3,7 @@
 dist-hook:
 	chmod u+w ${distdir}/ChangeLog
 	if test -d ${top_srcdir}/.git; then \
-		git log --stat > ${distdir}/ChangeLog || \
-		git log > ${distdir}/ChangeLog; \
+		git log $(CHANGELOG_RANGE) > ${distdir}/ChangeLog; \
 	fi
 
 maintainer-upload-release: _maintainer-upload-release
-- 
1.5.6.5




More information about the telepathy-commits mailing list