]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
maint: fix Automake warning
authorCollin Funk <collin.funk1@gmail.com>
Mon, 7 Jul 2025 03:23:35 +0000 (20:23 -0700)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Mon, 14 Jul 2025 16:18:29 +0000 (19:18 +0300)
* Makefile.am (prologue): Remove macro.
(THANKS): Use the perl command directly.

Makefile.am

index 0f32a52ca4da654007d157ca462338c5baf4670c..c5728aef6e4ac7ecda3186719c5c2ddeee42e603 100644 (file)
@@ -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' \