]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Populate ChangeLog when distribute 1913/head
authorSahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>
Thu, 5 Jun 2014 15:32:10 +0000 (17:32 +0200)
committerSahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>
Thu, 5 Jun 2014 15:33:53 +0000 (17:33 +0200)
Generates ChangeLog from git history for a
distributed package.

Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>
Makefile.am

index be230d21dd74e1b11dcf080681cbdbfb1027b484..0a07d05f3d09f40160d86a696664e23b7b5ba36e 100644 (file)
@@ -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