* cfg.mk: Extend rule to cover config.lt.
* m4/libtool.m4: Update copyright year.
---
 cfg.mk        | 5 ++++-
 m4/libtool.m4 | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/cfg.mk b/cfg.mk
index 62782ba809fb..e334b1365c27 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -26,7 +26,10 @@ update-copyright-env := UPDATE_COPYRIGHT_FORCE=1 
UPDATE_COPYRIGHT_USE_INTERVALS=
 update-copyright: update-release-year
 update-release-year:
        $(AM_V_GEN)year=`date +%Y`; \
-       sed -i "/_LT_COPY/,+1 { /Copyright/ {s:[0-9][0-9][0-9][0-9]:$${year}:} 
}" m4/libtool.m4
+       sed -i \
+               -e "/_LT_COPY/,+1 { /Copyright/ 
{s:[0-9][0-9][0-9][0-9]:$${year}:} }" \
+               -e "/^Copyright/ {s:[0-9][0-9][0-9][0-9]:$${year}:} " \
+               m4/libtool.m4
 
 # Set format of NEWS
 old_NEWS_hash := 68e212222416d15e517576ce749b131f
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index f439b5a62299..32485604e847 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -651,7 +651,7 @@ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME 
])config.lt[]dnl
 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
 configured by $[0], generated by m4_PACKAGE_STRING.
 
-Copyright (C) 2011 Free Software Foundation, Inc.
+Copyright (C) 2024 Free Software Foundation, Inc.
 This config.lt script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it."
 
-- 
2.43.0


Reply via email to