aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHOR-glue1
-rw-r--r--Makefile.am2
2 files changed, 2 insertions, 1 deletions
diff --git a/AUTHOR-glue b/AUTHOR-glue
new file mode 100644
index 0000000..8bda1b7
--- /dev/null
+++ b/AUTHOR-glue
@@ -0,0 +1 @@
+s/Ted Gould <.*@.*>/Ted Gould <ted@canonical.com>/
diff --git a/Makefile.am b/Makefile.am
index 8edb9f3..8a0d998 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -74,7 +74,7 @@ dist-hook:
echo Creating AUTHORS && \
( cd "$(top_srcdir)" && \
echo '# Generated by Makefile. Do not edit.'; echo; \
- $(top_srcdir)/missing --run bzr log --long --levels=0 | grep -e "^\s*author:" -e "^\s*committer:" | cut -d ":" -f 2 | cut -d "<" -f 1 | sort -u) > AUTHORS.tmp \
+ $(top_srcdir)/missing --run bzr log --long --levels=0 | grep -e "^\s*author:" -e "^\s*committer:" | cut -d ":" -f 2 | sed -r -f AUTHOR-glue | sort -u) > AUTHORS.tmp \
&& mv -f AUTHORS.tmp $(top_distdir)/AUTHORS \
|| (rm -f AUTHORS.tmp; \
echo Failed to generate AUTHORS >&2 ); \