[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#67588: [PATCH] maint: add hook to automate release version updates
From: |
Mike Frysinger |
Subject: |
bug#67588: [PATCH] maint: add hook to automate release version updates |
Date: |
Fri, 12 Jan 2024 02:13:24 -0500 |
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.
---
cfg.mk | 5 +++++
m4/libtool.m4 | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/cfg.mk b/cfg.mk
index 03ada1c11d54..62782ba809fb 100644
--- a/cfg.mk
+++ b/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
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index b9d3b1a5e3a6..8606c4e243f1 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -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.
--
2.43.0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#67588: [PATCH] maint: add hook to automate release version updates,
Mike Frysinger <=