From 4e3b32070485c47933784a907f449dc0a4c2dca6 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Tue, 8 Jul 2025 12:33:04 -0700 Subject: [PATCH] maint: fix Automake warning Avoid this warning: escaping \# comment markers is not portable * Makefile.am (prologue): Remove macro. (THANKS): Use the perl command directly. --- Makefile.am | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index a585b5b..d34bed2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -72,13 +72,10 @@ gen-ChangeLog: # current locale considers to be equal. ASSORT = LC_ALL=C sort -# Extract all lines up to the first one starting with "##". -prologue = perl -ne '/^\#\#/ and exit; print' $(srcdir)/THANKS.in - THANKS: THANKS.in Makefile.am .mailmap thanks-gen .version $(AM_V_GEN)rm -f $@-t $@; \ { \ - $(prologue); echo; \ + perl -ne '/^\#\#/ and exit; print' $(srcdir)/THANKS.in; echo; \ { perl -ne '/^$$/.../^$$/ and print' $(srcdir)/THANKS.in \ | grep -v '^$$' | perl -pe 's/ +/\0/'; \ git log --pretty=format:'%aN%x00%aE' \