Makefile.am: use gen-contributors-list.sh for CREDITS

* Makefile.am ($(srcdir)/CREDITS): Employ maint/gen-contributors-list.sh
for the contributor list generation.
This commit is contained in:
Eugene Syromyatnikov 2017-11-13 15:27:56 +01:00 committed by Dmitry V. Levin
parent cca061f6f0
commit 96b7894228

View File

@ -1102,10 +1102,9 @@ $(srcdir)/CREDITS: $(srcdir)/CREDITS.in $(srcdir)/.mailmap \
( \
cd $(srcdir); \
sed '/^##/,$$d' CREDITS.in; \
{ sed -n '1,/^##>/d; s/ */\t/; s/^./&/p' CREDITS.in; \
git log --pretty=format:'%aN %aE'; \
} | LC_ALL=C sort -u \
| awk -F'\t' '{printf("\t%s <%s>\n",$$1,$$2)}'; \
sed -n '1,/^##>/d; s/ */\t/; s/^./&/p' CREDITS.in \
| maint/gen-contributors-list.sh - -e HEAD --initial \
| sed 's/\t/ /g; s/^/\t/' \
) > $@-t && mv $@-t $@
export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner --mode=go-w,go+rX