diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2020-04-29 12:41:52 +0200 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2020-05-01 07:54:54 +0200 |
commit | 5a58370864e04f5dbb05b0ae453e6fa592a93175 (patch) | |
tree | 58687a028891ef03bafbb1cd5e6e424e6ab93b5b /cfg.mk | |
parent | 7c0c1e7772a190fd601bdc033952b19864abc242 (diff) | |
download | gnutls-5a58370864e04f5dbb05b0ae453e6fa592a93175.tar.gz |
New make target 'update-copyright-year'tmp-reproducible-build
We don't want to automatically update the copyright year as this
prevents reproducible builds.
Instead, 'make update-copyright-year' has to be executed at the
start of each new year and the changes have to be pushed.
Closes #980
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -43,7 +43,6 @@ local-checks-to-skip = sc_GPL_version sc_bindtextdomain \ sc_two_space_separator_in_usage VC_LIST_ALWAYS_EXCLUDE_REGEX = ^maint.mk|gtk-doc.make|m4/pkg|doc/fdl-1.3.texi|src/.*\.bak|src/crywrap/|(devel/perlasm/|lib/accelerated/x86/|build-aux/|gl/|src/libopts/|tests/suite/ecore/|doc/protocol/).*$$ -update-copyright-env = UPDATE_COPYRIGHT_USE_INTERVALS=1 # Explicit syntax-check exceptions. exclude_file_name_regexp--sc_copyright_check = ^./gnulib/.*$$ @@ -78,6 +77,12 @@ glimport: echo "If everything looks well, commit the gnulib update with:" echo " git commit -m "Update gnulib submodule" gnulib" +# Update Copyright year in tools and docs + +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 + # Code Coverage clang: |