mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 11:35:19 +00:00
AUTHORS: Avoid duplicated entries
Instead of simply dumping the list of authors as obtained from git, we can be a bit smarter and filter out maintainers so that their names don't appear twice. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
fdb389d781
commit
94d1f273ba
@ -90,7 +90,7 @@ Stefan de Konink <dekonink@kinkrsoftware.nl>
|
|||||||
Takahashi Tomohiro <takatom@jp.fujitsu.com>
|
Takahashi Tomohiro <takatom@jp.fujitsu.com>
|
||||||
Tatsuro Enokura <fj7716hz@aa.jp.fujitsu.com>
|
Tatsuro Enokura <fj7716hz@aa.jp.fujitsu.com>
|
||||||
|
|
||||||
#authorslist#
|
#contributorslist#
|
||||||
|
|
||||||
The libvirt logo was designed by Diana Fong
|
The libvirt logo was designed by Diana Fong
|
||||||
|
|
||||||
|
18
Makefile.am
18
Makefile.am
@ -109,9 +109,17 @@ gen-ChangeLog:
|
|||||||
|
|
||||||
.PHONY: gen-AUTHORS
|
.PHONY: gen-AUTHORS
|
||||||
gen-AUTHORS:
|
gen-AUTHORS:
|
||||||
$(AM_V_GEN)if test -d $(srcdir)/.git; then \
|
$(AM_V_GEN)\
|
||||||
out="`cd $(srcdir) && git log --pretty=format:'%aN <%aE>' | sort -u`" && \
|
if test -d $(srcdir)/.git; then \
|
||||||
perl -p -e "s/#authorslist#// and print '$$out'" \
|
( \
|
||||||
< $(srcdir)/AUTHORS.in > $(distdir)/AUTHORS-tmp && \
|
cd $(srcdir) && \
|
||||||
mv -f $(distdir)/AUTHORS-tmp $(distdir)/AUTHORS ; \
|
git log --pretty=format:'%aN <%aE>' | sort -u \
|
||||||
|
) > all.list && \
|
||||||
|
sort -u $(srcdir)/AUTHORS.in > maint.list && \
|
||||||
|
comm -23 all.list maint.list > contrib.list && \
|
||||||
|
contrib="`cat contrib.list`" && \
|
||||||
|
perl -p -e "s/#contributorslist#// and print '$$contrib'" \
|
||||||
|
< $(srcdir)/AUTHORS.in > $(distdir)/AUTHORS-tmp && \
|
||||||
|
mv -f $(distdir)/AUTHORS-tmp $(distdir)/AUTHORS && \
|
||||||
|
rm -f all.list maint.list contrib.list; \
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user