From: Sahid Orentino Ferdjaoui Date: Thu, 5 Jun 2014 15:31:08 +0000 (+0200) Subject: Populate AUTHORS when distribute X-Git-Tag: v0.83~120^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b22cc850a854ee05b348e50c205510a18058331b;p=ceph.git Populate AUTHORS when distribute Adds a complete list of contributors in a distributed package. Signed-off-by: Sahid Orentino Ferdjaoui --- diff --git a/Makefile.am b/Makefile.am index eb6ea2937d56..be230d21dd74 100644 --- a/Makefile.am +++ b/Makefile.am @@ -59,3 +59,10 @@ install-deps: else \ sudo yum -y install `cat deps.rpm.txt`; \ fi + +dist-hook: +# Generates the full list of contributors + if test -d $(srcdir)/.git; then \ + cd $(srcdir); \ + git log --format='%aN <%aE>' | sort -u >$(distdir)/AUTHORS; \ + fi