branch: master
commit c6016699f1f5779cafbc5dc83d810093f2b85488
Author: Collin Funk <[email protected]>
AuthorDate: Sun Jul 6 20:23:35 2025 -0700
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 0f32a52c..c5728aef 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' \