diff --git a/cfg.mk b/cfg.mk index 03ada1c1..62782ba8 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 b9d3b1a5..8606c4e2 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.