# HG changeset patch # User Arne Babenhauserheide # Date 1651093238 -7200 # Wed Apr 27 23:00:38 2022 +0200 # Node ID b6ef764feb3a9bd6a2902fb21407f1d287233f84 # Parent 71867b78220e17be16ca75607e22644b7d058ec7 fix changelog from git diff --git a/templates/lang--generic/Makefile.am.tail b/templates/lang--generic/Makefile.am.tail --- a/templates/lang--generic/Makefile.am.tail +++ b/templates/lang--generic/Makefile.am.tail @@ -14,7 +14,7 @@ @echo Generating $@ @echo "For user-visible changes, see the NEWS file" > @abs_top_builddir@/$@ @echo >> @abs_top_builddir@/$@ - @if test -d @abs_top_srcdir@/.git; then cd @abs_top_srcdir@; git log --date-order --date=short | sed -e '/^commit.*$/d' | awk '/^Author/ {sub(/\\$/,""); getline t; print $0 t; next}; 1' | sed -e 's/^Author: //g' | sed -e 's/\(.*\)>Date: \([0-9]*-[0-9]*-[0-9]*\)/\2 \1>/g' | sed -e 's/^\(.*\) \(\)\t\(.*\)/\3 \1 \2/g' >> @abs_top_builddir@/$@; cd -; fi + @if test -d @abs_top_srcdir@/.git; then cd @abs_top_srcdir@; git log --date-order --date=short | sed -e '/^commit.*$$/d' | awk '/^Author/ {sub(/\\$$/,""); getline t; print $0 t; next}; 1' | sed -e 's/^Author: //g' | sed -e 's/\(.*\)>Date: \([0-9]*-[0-9]*-[0-9]*\)/\2 \1>/g' | sed -e 's/^\(.*\) \(\)\t\(.*\)/\3 \1 \2/g' >> @abs_top_builddir@/$@; cd -; fi @if test -d @abs_top_srcdir@/.hg; then hg -R @abs_top_srcdir@ log --style changelog >> $@; fi AUTHORS: AUTHORS.in ## create the AUTHORS file from the history and AUTHORS.in @echo Generating $@