summaryrefslogtreecommitdiff
path: root/gen-authors.sh
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2009-12-27 13:31:57 +0100
committerPeter Simons <simons@cryp.to>2009-12-27 13:31:57 +0100
commit58104f21a9dbdb39fc6f1a47e48233360d36d0f6 (patch)
tree073fba70bd0120b8b7f21fe0fda0485838e313dd /gen-authors.sh
parent0fa9cb962265057a12318dd0b6743a84aee74388 (diff)
downloadautoconf-archive-58104f21a9dbdb39fc6f1a47e48233360d36d0f6.tar.gz
AUTHORS: ensure that ever macro copyright holder is included in this file
The AUTHORS file lists the name of everyone who has submitted an m4 file or committed to the Git repository.
Diffstat (limited to 'gen-authors.sh')
-rwxr-xr-xgen-authors.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/gen-authors.sh b/gen-authors.sh
new file mode 100755
index 0000000..41905b7
--- /dev/null
+++ b/gen-authors.sh
@@ -0,0 +1,21 @@
+#! /bin/bash
+
+set -eu
+
+trap 'rm -f AUTHORS-m4.tmp AUTHORS-git.tmp' 0
+
+sed -n -e 's/# *Copyright (c) [0-9,-]* *//p' m4/*.m4 >AUTHORS-m4.tmp
+git log | sed -n -e 's/^Author: *//p' >AUTHORS-git.tmp
+
+cat AUTHORS-m4.tmp AUTHORS-git.tmp \
+ | sed -e 's/ *<.*>.*//' \
+ -e 's/^Bogdan$/Bogdan Drozdowski/' \
+ -e 's/Fabien COELHO/Fabien Coelho/' \
+ -e 's/Dustin Mitchell/Dustin J. Mitchell/' \
+ -e 's/Alain BARBET/Alain Barbet/' \
+ -e 's/Mats Kindahl of Sun Microsystems/Mats Kindahl/' \
+ -e 's/Perceval ANICHINI/Perceval Anichini/' \
+ -e 's/Rafa Rzepecki/Rafal Rzepecki/' \
+ -e '/Zmanda Inc./d' \
+ | sort \
+ | uniq