From: Collin Funk Date: Mon, 7 Jul 2025 03:23:35 +0000 (-0700) Subject: maint: fix Automake warning X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f776b1462d9b16e5c4b8f72f6b729534146eb84a;p=thirdparty%2Flibtool.git maint: fix Automake warning * Makefile.am (prologue): Remove macro. (THANKS): Use the perl command directly. --- 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' \