[Telepathy-commits] [telepathy-inspector/master] Copy git dist-hook from gabble

Sjoerd Simons sjoerd.simons at collabora.co.uk
Wed Aug 20 07:45:02 PDT 2008


---
 Makefile.am |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 13cdc41..1f86572 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4,6 +4,7 @@ SUBDIRS = m4 tools extensions data src doc
 
 dist-hook:
 	chmod u+w ${distdir}/ChangeLog
-	if test -d _darcs; then\
-		darcs changes > ${distdir}/ChangeLog;\
+	if test -d ${top_srcdir}/.git; then \
+		git log --stat > ${distdir}/ChangeLog || \
+		git log > ${distdir}/ChangeLog; \
 	fi
-- 
1.5.6.3




More information about the Telepathy-commits mailing list