summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorSahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>2014-06-05 17:31:08 +0200
committerSahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>2014-06-05 17:33:42 +0200
commitb22cc850a854ee05b348e50c205510a18058331b (patch)
tree6d2d22d30bf1d11e03a27655a3f1a8682ca7924c /Makefile.am
parentMerge pull request #1918 from ceph/wip-da-SCA-20140604 (diff)
downloadceph-b22cc850a854ee05b348e50c205510a18058331b.tar.xz
ceph-b22cc850a854ee05b348e50c205510a18058331b.zip
Populate AUTHORS when distribute
Adds a complete list of contributors in a distributed package. Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index eb6ea2937d5..be230d21dd7 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