diff --git a/Makefile.am b/Makefile.am index 9dd22b86a62..1cbd865e748 100644 --- a/Makefile.am +++ b/Makefile.am @@ -79,7 +79,15 @@ README.gz: $(top_srcdir)/README -gzip -9 < $< > $@ THANKS.gz: $(top_srcdir)/THANKS - -gzip -9 < $< > $@ + sed -e 's/^#.*//' $< > $<.tmp # strip comments + sed -e '/^$$/d' $<.tmp > $<.tmp2 # strip empty lines + git shortlog -se 6c976bd..HEAD \ + | grep -v @apache.org \ + | sed -E 's/^[[:blank:]]{5}[[:digit:]]+[[:blank:]]/ * /' \ + >> $<.tmp2 # inject git authors + echo '\nFor a list of authors see the `AUTHORS` file.\n' >> $<.tmp2 + -gzip -9 < $<.tmp2 > $@ # zip + rm $<.tmp $<.tmp2 # cleanup check: dev check-js $(top_builddir)/test/etap/run $(top_srcdir)/test/etap diff --git a/THANKS b/THANKS index f0dccb8a939..1e065f86355 100644 --- a/THANKS +++ b/THANKS @@ -66,7 +66,6 @@ suggesting improvements or submitting changes. Some of these people are: * Lim Yue Chuan * David Davis * Klaus Trainer - * Dale Harvey * Juuso Väänänen * Jeff Zellner * Benjamin Young @@ -92,12 +91,10 @@ suggesting improvements or submitting changes. Some of these people are: * Simon Leblanc * Rogutės Sparnuotos * Gavin McDonald - * Ronny Pfannschmidt - * Magnus Hoff - * Alexander Dorofeev - * Anthony S Baker - * Ewan McDougall - * Adam Lofts -For a list of authors see the `AUTHORS` file. +# Dear committer who merges a commit from a non-committer: +# You don't have to manually maintain the THANKS file anymore (yay!). +# Non-committer authors get automatically appended to THANKS and +# moved into THANKS.gz by `make`. This note will be stripped as well. +# Authors from commit 6c976bd and onwards are auto-inserted.