mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-21 01:40:57 +08:00
maint: add hook to automate release version updates
Fixes libtool bug https://bugs.gnu.org/67588. Automate the process to avoid it falling stale again in the future, and then refresh here to get in sync. * cfg.mk: Add rule to update libtool.m4 release version. * m4/libtool.m4: Update release year.
This commit is contained in:
parent
64bef5ba65
commit
96dafbda93
5
cfg.mk
5
cfg.mk
@ -23,6 +23,11 @@
|
||||
|
||||
update-copyright-env := UPDATE_COPYRIGHT_FORCE=1 UPDATE_COPYRIGHT_USE_INTERVALS=1
|
||||
|
||||
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
|
||||
|
||||
# Set format of NEWS
|
||||
old_NEWS_hash := 68e212222416d15e517576ce749b131f
|
||||
|
||||
|
2
m4/libtool.m4
vendored
2
m4/libtool.m4
vendored
@ -9,7 +9,7 @@
|
||||
# modifications, as long as this notice is preserved.
|
||||
|
||||
m4_define([_LT_COPYING], [dnl
|
||||
# Copyright (C) 2014 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2024 Free Software Foundation, Inc.
|
||||
# This is free software; see the source for copying conditions. There is NO
|
||||
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user