From f776b1462d9b16e5c4b8f72f6b729534146eb84a Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Sun, 6 Jul 2025 20:23:35 -0700 Subject: [PATCH] maint: fix Automake warning * 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 0f32a52ca..c5728aef6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -576,15 +576,12 @@ $(changelog): FORCE # 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' $(no_thanks) - # Generate THANKS using git log entries as far as possible, fixing # up omissions and errors from NO-THANKS configuration. $(thanks): FORCE $(AM_V_GEN)if test -d '$(srcdir)/.git'; then \ { \ - $(prologue); echo; \ + perl -ne '/^\#\#/ and exit; print' $(no_thanks); echo; \ { perl -ne '/^$$/.../^$$/ and print' $(no_thanks) \ | grep -v '^$$' | perl -pe 's/ +/\0/'; \ { sed -e '1,/\#\# /d' -e '/^\#\# /d' \ -- 2.47.3