diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2008-08-14 17:48:54 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2008-08-14 17:48:54 +0100 |
commit | f973118278fb7afcc5b80bcc1720599d2c40a89d (patch) | |
tree | 233a85e99de4590d85004c09e811ceb74cc2a77a /Makefile.am | |
parent | 7575b4916983696d10913ac7c27816e485e39d9b (diff) |
Use git log to construct ChangeLog, rather than darcs changes.
Based on similar code I used in dbus-python.
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 870a4e202..b231896b8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,9 +14,13 @@ check-local:: egrep -A 5 '[F]IXME|[T]ODO|[X]XX' $(srcdir)/telepathy-glib/*.[ch] \ > FIXME.out || true +# Use git log --stat if it works, else plain git log dist-hook: chmod u+w ${distdir}/ChangeLog - if test -d _darcs; then darcs changes >${distdir}/ChangeLog; fi + if test -d ${top_srcdir}/.git; then \ + git log --stat > ${distdir}/ChangeLog || \ + git log > ${distdir}/ChangeLog; \ + fi maintainer-upload-docs: rsync -rtvzPp --chmod=Dg+s,ug+rwX,o=rX docs/reference/html/ \ |