This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grep".

The branch, master has been updated
       via  275600f387aec91ce1e330e9e8d944782ac44a6b (commit)
      from  db5172dc2b0f1e061d4d4d81bb6d6a1ac35a2346 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=275600f387aec91ce1e330e9e8d944782ac44a6b


commit 275600f387aec91ce1e330e9e8d944782ac44a6b
Author: Collin Funk <[email protected]>
Date:   Sun Jul 6 19:41:35 2025 -0700

    maint: fix Automake warning
    
    Avoid this warning: escaping \# comment markers is not portable
    * Makefile.am (prologue): Remove macro.
    (THANKS): Use the perl command directly.

diff --git a/Makefile.am b/Makefile.am
index e386565..e910a6d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -66,13 +66,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
        $(AM_V_GEN)rm -f $@-t $@;                                       \
        {                                                               \
-         $(prologue); echo;                                            \
+         perl -ne '/^\#\#/ and exit; print' $(srcdir)/THANKS.in; echo; \
          { perl -ne '/^$$/.../^$$/ and !/^$$/ and s/  +/\0/ and print' \
              $(srcdir)/THANKS.in;                                      \
            git log --pretty=format:'%aN%x00%aE'                        \

-----------------------------------------------------------------------

Summary of changes:
 Makefile.am | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)


hooks/post-receive
-- 
grep

Reply via email to