mirror of
git://git.savannah.gnu.org/libtool.git
synced 2025-03-19 15:50:25 +08:00
maint: extend release version hook to cover config.lt
* cfg.mk: Extend rule to cover config.lt. * m4/libtool.m4: Update copyright year.
This commit is contained in:
parent
9ced107b8c
commit
22406ebb83
5
cfg.mk
5
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
|
||||
|
2
m4/libtool.m4
vendored
2
m4/libtool.m4
vendored
@ -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."
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user