diff options
author | Sahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com> | 2014-06-05 17:32:10 +0200 |
---|---|---|
committer | Sahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com> | 2014-06-05 17:33:53 +0200 |
commit | 5bb078f991c3d07aadd097fe7fa1337ec54d37e3 (patch) | |
tree | 9560a6a2d7e01b4d51f1a31745a1c1d81afc3b68 /Makefile.am | |
parent | Populate AUTHORS when distribute (diff) | |
download | ceph-5bb078f991c3d07aadd097fe7fa1337ec54d37e3.tar.xz ceph-5bb078f991c3d07aadd097fe7fa1337ec54d37e3.zip |
Populate ChangeLog when distribute
Generates ChangeLog from git history for a
distributed package.
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index be230d21dd7..0a07d05f3d0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -66,3 +66,8 @@ dist-hook: cd $(srcdir); \ git log --format='%aN <%aE>' | sort -u >$(distdir)/AUTHORS; \ fi +# Generates ChangeLog from git + if test -d $(srcdir)/.git; then \ + cd $(srcdir); \ + git log --oneline --decorate --no-merges > $(distdir)/ChangeLog; \ + fi |