Handle manpage copyright year update in update-copyright-year
target, and fix the library manpage copyright year statement, $(YEAR)
expanded to an empty string
Broken by:
5a58370864e04f5dbb05b0ae453e6fa592a93175
Signed-off-by: Andreas Metzler <ametzler@bebt.de>
update-copyright-year:
$(AM_V_at)$(SED) -i "s/\"2000-[0-9]\{4,\}\"/\"2000-`date +%Y`\"/g" src/args-std.def.in
$(AM_V_at)$(SED) -i "s/ 2001-[0-9]\{4,\} / 2001-`date +%Y` /g" doc/gnutls.texi
+ $(AM_V_at)$(SED) -i \
+ -e "s/ 2001-[0-9]\{4,\} / 2001-`date +%Y` /g" \
+ -e "s/ 2020-[0-9]\{4,\} / 2020-`date +%Y` /g" \
+ doc/manpages/Makefile.am
+ $(AM_V_at)$(SED) -i \
+ -e "s/ 2000-[0-9]\{4,\} / 2000-`date +%Y` /g" \
+ doc/Makefile.am \
+ src/Makefile.am
# Code Coverage
-pkg-site "https://www.gnutls.org" \
-include "gnutls/`basename $$header .in`" \
-seeinfo $(PACKAGE) -verbatimcopying \
- -copyright "2001-$(YEAR) Free Software Foundation, Inc., and others" \
+ -copyright "2001-2023 Free Software Foundation, Inc., and others" \
-function $$i \
$(C_SOURCE_FILES) > $$i.3 && \
echo $(ECHO_N) "."; \